View Full Version : Can glReadPixels fail because of the video card?
05-14-2002, 02:04 PM
I wrote a OpenGL program, using glReadPixels(...) to get some information. However, the program works fine on some computers but fails on some other computers, especially on laptops. I checked my program and found glReadPixels(...) failed to feedback the information I needed. Is the problem related to the video card?
I found glStencilFunc() also failed on some systems!
05-14-2002, 02:40 PM
I would imagine that glStencilFunc() would be dependent on the videcard supporting a stencil buffer. Most cards tnt2/rage128pro and later should support this, but others will fail.
As for glReadPixels, I'm not sure what hardware it might depend on, you could try asking in one of the "Coding" forums on this site, or read the OpenGL spec.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.