[Piglit] [PATCH 3/3] Android: piglit_ktx.c compiler error

Tom Gall tom.gall at linaro.org
Mon Jan 28 10:30:39 PST 2013


A very minor change to fix build issue for Android. Needed return
statement at end of function which specifies a return type.

Signed-off-by: Tom Gall <tom.gall at linaro.org>
---
 tests/util/piglit_ktx.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/util/piglit_ktx.c b/tests/util/piglit_ktx.c
index 7febc8f..1d47102 100644
--- a/tests/util/piglit_ktx.c
+++ b/tests/util/piglit_ktx.c
@@ -758,6 +758,7 @@ target_to_texture_binding(GLuint target)
 			assert(0);
 			break;
 	}
+	return 0;
 }
 
 bool
-- 
1.7.10.4



More information about the Piglit mailing list