aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/apple/apple_xgl_api_stereo.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2010-04-01 11:17:04 -0700
committerJeremy Huddleston <[email protected]>2010-04-01 12:33:46 -0700
commit23215ef4d60a86d9f3b3fdc08e3fdadc59e98890 (patch)
tree6b2a796ec7e9d229f96c0b4139bc3383b14a1720 /src/glx/apple/apple_xgl_api_stereo.c
parent9495e3703062d1ddaf3161f4efc23f0b51284d9b (diff)
apple: Change ifdefs for DRI to be DRI && !APPLE
Signed-off-by: Jeremy Huddleston <[email protected]>
Diffstat (limited to 'src/glx/apple/apple_xgl_api_stereo.c')
-rw-r--r--src/glx/apple/apple_xgl_api_stereo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/apple/apple_xgl_api_stereo.c b/src/glx/apple/apple_xgl_api_stereo.c
index b50e3119cdf..7dd946f764e 100644
--- a/src/glx/apple/apple_xgl_api_stereo.c
+++ b/src/glx/apple/apple_xgl_api_stereo.c
@@ -42,7 +42,7 @@ glDrawBuffer(GLenum mode)
{
GLXContext gc = glXGetCurrentContext();
- if (gc && apple_glx_context_uses_stereo(gc->apple)) {
+ if (gc && apple_glx_context_uses_stereo(gc->driContext)) {
GLenum buf[2];
GLsizei n = 0;
@@ -77,7 +77,7 @@ glDrawBuffers(GLsizei n, const GLenum * bufs)
{
GLXContext gc = glXGetCurrentContext();
- if (gc && apple_glx_context_uses_stereo(gc->apple)) {
+ if (gc && apple_glx_context_uses_stereo(gc->driContext)) {
GLenum newbuf[n + 2];
GLsizei i, outi = 0;
bool have_back = false;