[Mesa-dev] [PATCH 1/4] glx: remove the unused var

Yuanhan Liu yuanhan.liu at linux.intel.com
Tue Nov 29 00:08:36 PST 2011


Silence the compile warning

Signed-off-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>
---
 src/glx/drisw_glx.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index a150c61..7ba491b 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -304,7 +304,6 @@ 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;
 
-- 
1.7.4.4



More information about the mesa-dev mailing list