diff options
author | Marek Olšák <[email protected]> | 2011-12-17 15:13:37 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-12-17 15:13:37 +0100 |
commit | 5016b09f897dd9d93ee1fc86949e0c3d7bd3b36f (patch) | |
tree | a7ace99a32321ad6f12d53a181edf530518e6503 /src | |
parent | a3bfbccd0a97ccaa9d07317d9681a350d02ee456 (diff) |
drisw: remove unused variable
Diffstat (limited to 'src')
-rw-r--r-- | src/glx/drisw_glx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c index fbc6be272c0..f6aeda90abb 100644 --- a/src/glx/drisw_glx.c +++ b/src/glx/drisw_glx.c @@ -304,10 +304,11 @@ drisw_bind_tex_image(Display * dpy, struct glx_context *gc = __glXGetCurrentContext(); struct drisw_context *pcp = (struct drisw_context *) gc; __GLXDRIdrawable *base = GetGLXDRIDrawable(dpy, drawable); - struct glx_display *dpyPriv = __glXInitialize(dpy); struct drisw_drawable *pdraw = (struct drisw_drawable *) base; struct drisw_screen *psc; + __glXInitialize(dpy); + if (pdraw != NULL) { psc = (struct drisw_screen *) base->psc; |