mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
glc: Fix "warning: unused variable 'recreate'"
This commit is contained in:
parent
a74209a9c3
commit
8639bbdc9d
@ -1260,7 +1260,6 @@ void glc_copy_pixels(GLCCtx glc, int x_dest, int y_dest, int x_src, int y_src, i
|
||||
int height)
|
||||
{
|
||||
InternaCtx *ctx = (InternaCtx *)glc;
|
||||
int recreate = 0;
|
||||
|
||||
spice_assert(ctx);
|
||||
#if 1 /* USE_COPY_PIXELS */
|
||||
@ -1275,6 +1274,7 @@ void glc_copy_pixels(GLCCtx glc, int x_dest, int y_dest, int x_src, int y_src, i
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
}
|
||||
#else
|
||||
int recreate = 0;
|
||||
int width2 = gl_get_to_power_two(width);
|
||||
int height2 = gl_get_to_power_two(height);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user