PDA

View Full Version : glPixelWrite, whats that?



tirengarfio
10-24-2006, 11:06 PM
Hi,

i have found a tutorial related with OPENGL that says this:

"Either the background image is written directly to the framebuffer
with the function glPixelWrite() or the image is mapped as a texture to a
rectangle behind the scene."

I have googled glPixelWrite but doesnt exist this function, what function is refering the text?

RigidBody
10-24-2006, 11:33 PM
there's no function glPixelWrite in OpenGL- the correct name is glDrawPixels. maybe there is a function glPixelWrite in the source of the tutorial, but it would be bad style to make a user created function's name start with "gl".