Skip to main content
GameDev.net gamedev.net
🔒 Locked

Pixel Drawing

Started by khdani Jul 17, 2008 at 5:52 AM 0 replies 450+ views
Original Post
khdani
khdani
Hello, I've an array of pixels, what's the best way to draw it using opengl, for later those pixels could be changed? Thank You!
Lord_Evil
Lord_Evil
Make a texture of those pixels and update changed pixels using glTexSubImage2D(...)
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.