summaryrefslogtreecommitdiff
path: root/tests/texturing/texdepth.c
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-09-05 06:50:12 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-10-09 17:35:41 -0700
commit6ff0ee8039c6aceca1a8f9066d333f73aab1d468 (patch)
tree4458b35b0a748c9602cf8332afc3bb4d5a84dd64 /tests/texturing/texdepth.c
parent54a5e50c4448777a05035372fe83c1ccfd734ddb (diff)
tests,util: Wrap glutPostRedisplay with piglit_post_redisplay
I'm trying to transition Piglit from using GLUT to using Waffle. This requires killing all uses of GLUT functions, one-by-one. This patch replaces all-but-one instance of glutPostRedisplay with a new wrapper, piglit_post_redisplay. The sole remaining test that uses glutPostRedisplay is windowoverlap; but that test doesn't use piglit-framework, anyway. Since piglit_escape_exit_key() calls piglit_post_redisplay() which is defined in piglitutil_gl*, we must now link piglitutil_gl into piglitglxutil to prevent link errors. Acked-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-and-tested-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Paul Berry <stereotype441@gmail.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/texturing/texdepth.c')
-rw-r--r--tests/texturing/texdepth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texturing/texdepth.c b/tests/texturing/texdepth.c
index a655ef07..9111b353 100644
--- a/tests/texturing/texdepth.c
+++ b/tests/texturing/texdepth.c
@@ -365,7 +365,7 @@ static void Key(unsigned char key, int x, int y)
exit(0);
break;
}
- glutPostRedisplay();
+ piglit_post_redisplay();
}
void