diff options
Diffstat (limited to 'xc/lib/GL/glx/glxcmds.c')
-rw-r--r-- | xc/lib/GL/glx/glxcmds.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/xc/lib/GL/glx/glxcmds.c b/xc/lib/GL/glx/glxcmds.c index 3877dfd81..51bd9b9e2 100644 --- a/xc/lib/GL/glx/glxcmds.c +++ b/xc/lib/GL/glx/glxcmds.c @@ -157,15 +157,6 @@ GLXContext CreateContext(Display *dpy, XVisualInfo *vis, } } } - - /* - ** Initialize the function pointer array to use the indirect - ** rendering routines. If direct rendering is available for - ** this context, then glAPI is initialized when the context is - ** made current. - */ - if (!gc->isDirect) - glInitIndirectAPI(&gc->glAPI); #endif /* Send the glXCreateContext request */ @@ -595,9 +586,7 @@ int glXGetConfig(Display *dpy, XVisualInfo *vis, int attribute, __GLXvisualConfig *pConfig; __GLXscreenConfigs *psc; __GLXdisplayPrivate *priv; - GLint i, items; - XVisualInfo* vi; - XVisualInfo template; + GLint i; /* Initialize the extension, if needed */ priv = __glXInitialize(dpy); @@ -1382,7 +1371,6 @@ static int __glXQueryContextInfo(Display *dpy, GLXContext ctx) xGLXQueryContextInfoEXTReq *req; xGLXQueryContextInfoEXTReply reply; CARD8 opcode; - GLXContext gc = __glXGetCurrentContext(); GLuint numValues; if (ctx == NULL) { @@ -1476,9 +1464,6 @@ GLXContextID glXGetContextIDEXT(const GLXContext ctx) GLXContext glXImportContextEXT(Display *dpy, GLXContextID contextID) { - VisualID vid; - int screen; - GLXContextID shareListID; GLXContext ctx; if (contextID == None) { |