Test either GL_FRONT_LEFT or GL_FRONT for front-buffer rendering
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 28 Apr 2009 17:08:57 +0000 (10:08 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 12 May 2009 00:16:11 +0000 (17:16 -0700)
commit64f36ff9fbe7e12c79cd72ceb68ed5967979445f
treea9b1170e14cb4414e81b5588448a8883450ec341
parentf104e4d666dfccda6f5ad817693216733ddede44
Test either GL_FRONT_LEFT or GL_FRONT for front-buffer rendering

For non-stereo visuals, which is all we support, we treat
GL_FRONT_LEFT as GL_FRONT.  However, they are technically different,
and they have different enum values.  Test for either one to determine
if we're in front-buffer rendering mode.

This fix was suggested by Pierre Willenbrock.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 2085cf24628be7cd297ab0f9ef5ce02bd5a006e2)
src/mesa/drivers/dri/intel/intel_buffers.c