summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-07 18:05:42 +0200
committerAlon Levy <alevy@redhat.com>2011-07-21 15:09:27 +0300
commit96555db49a4a04c6796ed7d823a2856adb48bee7 (patch)
tree79795c3faa3d203c841feef0d68410a2df98a5a8
parentdda8e3f62c6b65356d84080799b1922f1a5164b8 (diff)
downloadspice-96555db49a4a04c6796ed7d823a2856adb48bee7.tar.gz
spice-96555db49a4a04c6796ed7d823a2856adb48bee7.tar.xz
spice-96555db49a4a04c6796ed7d823a2856adb48bee7.zip
gl: remove unused variables
gcc 4.6 warned about these.
-rw-r--r--client/x11/red_pixmap_gl.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/client/x11/red_pixmap_gl.cpp b/client/x11/red_pixmap_gl.cpp
index 7c859665..0e7b8c13 100644
--- a/client/x11/red_pixmap_gl.cpp
+++ b/client/x11/red_pixmap_gl.cpp
@@ -175,10 +175,7 @@ void RedPixmapGL::update_texture(const SpiceRect *bbox)
{
RenderType rendertype;
GLuint tex;
- int width_powed;
- int height_powed;
int height;
- int width;
rendertype = ((PixelsSource_p*)get_opaque())->gl.rendertype;
@@ -189,9 +186,6 @@ void RedPixmapGL::update_texture(const SpiceRect *bbox)
int is_enabled;
GLint prev_tex;
- width_powed = ((PixelsSource_p*)get_opaque())->gl.width_powed;
- height_powed = ((PixelsSource_p*)get_opaque())->gl.height_powed;
- width = ((PixelsSource_p*)get_opaque())->gl.width;
height = ((PixelsSource_p*)get_opaque())->gl.height;
tex = ((PixelsSource_p*)get_opaque())->gl.tex;