Archived

This topic is now archived and is closed to further replies.

Percussion

How to chang current Raster Position?

Recommended Posts

I am trying to draw pixels directly into frame buffer. I can do draw to a default starting position (0,0) by use glDrawPixels(). What I should do if I want to draw to a specific position? I tried glRasterPos2i, but it doesn''t work like what I thought? So my questions is how to move the "pen" to a specific position, need I set any flags? Can anyone help? Thanks

Share this post


Link to post
Share on other sites