From 305bc09df6f840642c81829bc362bd1f1212fbd1 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Mon, 19 Sep 2011 15:24:08 +0100 Subject: [PATCH] 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 --- tests/conform/test-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conform/test-utils.c b/tests/conform/test-utils.c index b765b4697..87c043755 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,