aboutsummaryrefslogtreecommitdiffstats
path: root/progs/perf/teximage.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-23 08:06:29 -0600
committerBrian Paul <[email protected]>2009-09-23 08:06:37 -0600
commitaae77319c00062dc756c3ff5293b2e76b36d893d (patch)
treede7cf23401a718dd90d17b42182234fcb0e133b6 /progs/perf/teximage.c
parent31f1571d1f6e325c16833afbb6e15b61561e5f1f (diff)
progs/perf: set TexSubImage4=FALSE
Diffstat (limited to 'progs/perf/teximage.c')
-rw-r--r--progs/perf/teximage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/perf/teximage.c b/progs/perf/teximage.c
index 0f41d349b75..a3005d0befd 100644
--- a/progs/perf/teximage.c
+++ b/progs/perf/teximage.c
@@ -39,7 +39,7 @@ static GLsizei TexSize;
static GLenum TexIntFormat, TexSrcFormat, TexSrcType;
static const GLboolean DrawPoint = GL_TRUE;
-static const GLboolean TexSubImage4 = GL_TRUE;
+static const GLboolean TexSubImage4 = GL_FALSE;
enum {
MODE_CREATE_TEXIMAGE,
@@ -145,7 +145,7 @@ UploadTexSubImage2D(unsigned count)
{
unsigned i;
for (i = 0; i < count; i++) {
- if (0 && TexSubImage4) {
+ if (TexSubImage4) {
GLsizei halfSize = (TexSize == 1) ? 1 : TexSize / 2;
GLsizei halfPos = TexSize - halfSize;
/* do glTexSubImage2D in four pieces */