[cogl] test-utils: Use a power-of-two size for the FBO
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] test-utils: Use a power-of-two size for the FBO
- Date: Mon, 19 Sep 2011 16:55:11 +0000 (UTC)
commit 305bc09df6f840642c81829bc362bd1f1212fbd1
Author: Neil Roberts <neil linux intel com>
Date: Mon Sep 19 15:24:08 2011 +0100
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>
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 b765b46..87c0437 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]