mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-08 21:14:11 +00:00
gl: remove unused variables
gcc 4.6 warned about these.
This commit is contained in:
parent
ace31d1c8a
commit
bb9b8a3c13
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user