I don't know how your code looks like. But the bytes probably gets casted into unsigned bytes anyway when you store them.
IMHO, you should use glReadPixelsub(x, y, 1, 1, GL_RGB) anyway since it's probably unsigned bytes you want.
glReadPixels Question
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement