diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-09-19 15:24:08 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2011-09-19 16:40:07 +0100 |
commit | 305bc09df6f840642c81829bc362bd1f1212fbd1 (patch) | |
tree | b8416cd499cbccc9013deebef5924be72f94ca63 | |
parent | 1984fea4b13239172c09da61d24d82030c84ee56 (diff) | |
download | cogl-305bc09df6f840642c81829bc362bd1f1212fbd1.tar.gz |
test-utils: Use a power-of-two size for the FBO
When testing with COGL_DEBUG=disable-npot-textures all of the tests
would fail because the testing infrastructure itself ends up creating
a sliced texture and then trying to use it as a render target. This
just modifies test-utils to use 512x512 for the size of the texture.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
-rw-r--r-- | tests/conform/test-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conform/test-utils.c b/tests/conform/test-utils.c index b765b469..87c04375 100644 --- a/tests/conform/test-utils.c +++ b/tests/conform/test-utils.c @@ -3,8 +3,8 @@ #include "test-utils.h" -#define FB_WIDTH 640 -#define FB_HEIGHT 480 +#define FB_WIDTH 512 +#define FB_HEIGHT 512 void test_utils_init (TestUtilsGTestFixture *fixture, |