From 3ea3f5e0a542cfd9f9a3433515fd27e0a5d1b1ac Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Tue, 7 Sep 2010 14:32:28 -0400 Subject: 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. --- src/glx/glxclient.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/glx/glxclient.h') 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 -- cgit v1.2.3