summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-23 22:25:29 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-30 02:18:37 +0200
commite443c9f6039407633d38a0eba03c344272ac8559 (patch)
treeb6b1cddaf1f654fc16419ab581c1fc5e8c252bf4
parent0aadda70d5cac2498e1b5bf09ee623130091da50 (diff)
gl: use glCopyPixels()
I don't see why the fallback method should be the default. glCopyTexImage2D and glCopyPixels are equally broken with current Intel mesa/drivers (I'll be filing a bug). But sw rendering is correct.
-rw-r--r--common/glc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/glc.c b/common/glc.c
index 91b295c..c1795de 100644
--- a/common/glc.c
+++ b/common/glc.c
@@ -1263,7 +1263,7 @@ void glc_copy_pixels(GLCCtx glc, int x_dest, int y_dest, int x_src, int y_src, i
int recreate = 0;
spice_assert(ctx);
-#ifdef USE_COPY_PIXELS
+#if 1 /* USE_COPY_PIXELS */
start_draw(ctx);
if (ctx->pat) {
glDisable(GL_TEXTURE_2D);