glReadPixels Question

Started by
10 comments, last by Geometrian 16 years, 8 months ago
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.
Advertisement
OK, will change that.

[size="1"]And a Unix user said rm -rf *.* and all was null and void...|There's no place like 127.0.0.1|The Application "Programmer" has unexpectedly quit. An error of type A.M. has occurred.
[size="2"]

This topic is closed to new replies.

Advertisement