From: <nou...@li...> - 2006-08-02 18:03:30
|
NouVeau CVS commit Author : pmandin Module : renouveau Dir : renouveau Modified Files: main.c tests.c Log Message: Add test function for rendering with default OpenGL context state =================================================================== RCS file: /cvsroot/nouveau/renouveau/main.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -3 -r1.52 -r1.53 --- main.c 2 Aug 2006 17:28:14 -0000 1.52 +++ main.c 2 Aug 2006 18:03:29 -0000 1.53 @@ -111,6 +111,7 @@ // glClear(GL_COLOR_BUFFER_BIT); #endif printf("coucou\n"); + test_default(); // test_vbo(); // test_blend(); // test_blend_2(); =================================================================== RCS file: /cvsroot/nouveau/renouveau/tests.c,v retrieving revision 1.64 retrieving revision 1.65 diff -u -3 -r1.64 -r1.65 --- tests.c 2 Aug 2006 07:35:51 -0000 1.64 +++ tests.c 2 Aug 2006 18:03:29 -0000 1.65 @@ -21,6 +21,16 @@ regl.End(); } +void test_default(void) +{ + TEST_PROLOGUE; + printf("Testing default state of OpenGL context\n"); + dump_before(); + tri(); + dump_after(); + TEST_EPILOGUE; +} + #ifdef GL_ARB_vertex_buffer_object void test_vbo() { |