What is the reason to use GL_FRONT_LEFT in wglMakeCurrent()

Huw D M Davies h.davies1 at physics.ox.ac.uk
Mon Mar 27 07:30:02 CST 2006


On Sat, Mar 25, 2006 at 02:23:01AM +0100, Tomas Carnecky wrote:
> GL_FRONT and GL_FRONT_LEFT mean the same unless the drawable is stereo.
> And I don't think PBuffers or Pixmaps can be stereo, so is there any
> special reason to use GL_FRONT_LEFT ? Or is it because the spec sais so?

See man glXCreateGLXPixmap.  The X pixmap is used as the front left
buffer of the resulting rendering area, so we make sure that we're
rendering into the X pixmap, not some dummy buffer created by
glXCreateGLXPixmap.

Huw.
-- 
Huw Davies
huw at codeweavers.com



More information about the wine-devel mailing list