PDA

View Full Version : glRasterPos causes crash



link19
08-19-2002, 08:30 AM
On windows2000 with a 32 ATI Rage Pro card, glRasterPos() crashed my app.
I updated the driver and all is well.
Im concerned, though, that thisll happen on many other machines.
Any suggestions on how to prevent this?
TIA

Pa3PyX
08-19-2002, 08:42 PM
Is that glRasterPos** that caused a crash, or is that subsequent glCopyPixels/glDrawPixels/glBitmap that caused it? Because if you set your raster position outside viewport, and then attempt to rasterize anything, it should be clipped, but some drivers are known to be stupid enough to not do any range checks and corrupt memory or cause things like division by zero instead. 3Dfx OpenGL drivers are a chief example. (Try gluLookAt(0, 0, 0, 0, 0, 0, 0, 0, 1).