[Piglit] [PATCH 1/5] tests: Remove all uses of glutGet

Chad Versace chad.versace at linux.intel.com
Wed Aug 29 23:16:47 PDT 2012


I'm trying to transition Piglit from using GLUT to using Waffle. This
requires killing all uses of GLUT functions, one-by-one.

glutGet was only used in one test: fp-fragment-position.

Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
 tests/shaders/fp-fragment-position.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/shaders/fp-fragment-position.c b/tests/shaders/fp-fragment-position.c
index a3cbd89..dfc4219 100644
--- a/tests/shaders/fp-fragment-position.c
+++ b/tests/shaders/fp-fragment-position.c
@@ -83,12 +83,6 @@ static const char* const ProgramText[NUM_PROGRAMS] = {
  */
 static void DoFrame(void)
 {
-	printf("rgba: %i %i %i %i\n",
-	       glutGet(GLUT_WINDOW_RED_SIZE),
-	       glutGet(GLUT_WINDOW_GREEN_SIZE),
-	       glutGet(GLUT_WINDOW_BLUE_SIZE),
-	       glutGet(GLUT_WINDOW_ALPHA_SIZE));
-
 	glClearColor(0.3, 0.3, 0.3, 0.3);
 	glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
 
-- 
1.7.12



More information about the Piglit mailing list