🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Trouble with glReadPixels
Can someone tell me the useage of glReadPixels? Here''s my simple
requirements:
read from RED(0-255 colors)
read one single pixel
return it to an integer called ''select''
int select=0; // default alignment =4
glReadPixels( x, y, 1, 1, GL_RED, GL_UNSIGNED_BYTE, &select );
Edited by - Serge K on August 3, 2000 6:28:53 PM
glReadPixels( x, y, 1, 1, GL_RED, GL_UNSIGNED_BYTE, &select );
Edited by - Serge K on August 3, 2000 6:28:53 PM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement