summaryrefslogtreecommitdiff
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-09-07 14:32:28 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-09-07 14:32:28 -0400
commit3ea3f5e0a542cfd9f9a3433515fd27e0a5d1b1ac (patch)
treee3d8dfee118ea1ea390da5f7864d3c0fd362970e /src/glx/glxclient.h
parent57d3f71132a59315d47c42a110228a523f9ea23d (diff)
glx: Set an all NULL vtable for dummyContext
This reverts 6a6e6d7b0a84e20f9754af02a575ae34081d310c and initializes dummyContext with an all NULL vtable. The context vtable pointer is supposed to always be non-NULL, but the vtable entries can be NULL.
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 813547ae51..b453e6dbd0 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -260,6 +260,8 @@ struct glx_context
GLint bufSize;
/*@} */
+ const struct glx_context_vtable *vtable;
+
/**
* The XID of this rendering context. When the context is created a
* new XID is allocated. This is set to None when the context is
@@ -423,8 +425,6 @@ struct glx_context
unsigned long thread_id;
char gl_extension_bits[__GL_EXT_BYTES];
-
- const struct glx_context_vtable *vtable;
};
extern Bool