diff test/common.h @ 3408:55541ddf13e3

Support for GL initialization parameters has been added.
author Mike Gorchak <lestat@i.com.ua>
date Wed, 21 Oct 2009 14:51:42 +0000
parents c18c03927a77
children f0b7bc1fe12d
line wrap: on
line diff
--- a/test/common.h	Mon Oct 19 13:31:58 2009 +0000
+++ b/test/common.h	Wed Oct 21 14:51:42 2009 +0000
@@ -41,6 +41,27 @@
     /* Audio info */
     const char *audiodriver;
     SDL_AudioSpec audiospec;
+
+    /* GL settings */
+    int gl_red_size;
+    int gl_green_size;
+    int gl_blue_size;
+    int gl_alpha_size;
+    int gl_buffer_size;
+    int gl_depth_size;
+    int gl_stencil_size;
+    int gl_double_buffer;
+    int gl_accum_red_size;
+    int gl_accum_green_size;
+    int gl_accum_blue_size;
+    int gl_accum_alpha_size;
+    int gl_stereo;
+    int gl_multisamplebuffers;
+    int gl_multisamplesamples;
+    int gl_retained_backing;
+    int gl_accelerated;
+    int gl_major_version;
+    int gl_minor_version;
 } CommonState;
 
 extern CommonState *CommonCreateState(char **argv, Uint32 flags);