test/common.h
changeset 3408 55541ddf13e3
parent 3194 c18c03927a77
child 3514 f0b7bc1fe12d
     1.1 --- a/test/common.h	Mon Oct 19 13:31:58 2009 +0000
     1.2 +++ b/test/common.h	Wed Oct 21 14:51:42 2009 +0000
     1.3 @@ -41,6 +41,27 @@
     1.4      /* Audio info */
     1.5      const char *audiodriver;
     1.6      SDL_AudioSpec audiospec;
     1.7 +
     1.8 +    /* GL settings */
     1.9 +    int gl_red_size;
    1.10 +    int gl_green_size;
    1.11 +    int gl_blue_size;
    1.12 +    int gl_alpha_size;
    1.13 +    int gl_buffer_size;
    1.14 +    int gl_depth_size;
    1.15 +    int gl_stencil_size;
    1.16 +    int gl_double_buffer;
    1.17 +    int gl_accum_red_size;
    1.18 +    int gl_accum_green_size;
    1.19 +    int gl_accum_blue_size;
    1.20 +    int gl_accum_alpha_size;
    1.21 +    int gl_stereo;
    1.22 +    int gl_multisamplebuffers;
    1.23 +    int gl_multisamplesamples;
    1.24 +    int gl_retained_backing;
    1.25 +    int gl_accelerated;
    1.26 +    int gl_major_version;
    1.27 +    int gl_minor_version;
    1.28  } CommonState;
    1.29  
    1.30  extern CommonState *CommonCreateState(char **argv, Uint32 flags);