summaryrefslogtreecommitdiff
path: root/src/glx/apple/apple_xgl_api_stereo.c
diff options
context:
space:
mode:
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 b50e3119cd..7dd946f764 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;