--- a/src/display.h Mon Sep 08 07:56:33 2008 +0000 +++ b/src/display.h Tue Oct 14 06:52:06 2008 +0000 @@ -102,6 +102,10 @@ unsigned char *data; }; +struct display_capabilities { + int stencil_bits; /* 0 = no stencil buffer */ +}; + /** * Core video driver - exports function to setup a GL context, as well as handle * keyboard input and display resultant output. @@ -201,6 +205,7 @@ gboolean (*read_render_buffer)( unsigned char *target, render_buffer_t buffer, int rowstride, int format ); + struct display_capabilities capabilities; } *display_driver_t; /**