diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-07 18:05:42 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2011-04-08 11:09:39 +0200 |
commit | bb9b8a3c1330411288ae32b0419b816434e487fa (patch) | |
tree | 791ea11489a2eba3030e70b3f67d20ea0c097e4d /client/x11 | |
parent | ace31d1c8a5ea88a8eb55568208d6e297e089a81 (diff) | |
download | spice-bb9b8a3c1330411288ae32b0419b816434e487fa.tar.gz spice-bb9b8a3c1330411288ae32b0419b816434e487fa.tar.xz spice-bb9b8a3c1330411288ae32b0419b816434e487fa.zip |
gl: remove unused variables
gcc 4.6 warned about these.
Diffstat (limited to 'client/x11')
-rw-r--r-- | client/x11/red_pixmap_gl.cpp | 6 |
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; |