primarilly needed to support functions that are internally implemented using
extension entry points (e.g., glBlendFunc uses glBlendFuncSeparate).
/* Extension strings exported by the i810 driver.
*/
-static const struct dri_extension card_extensions[] =
+const struct dri_extension card_extensions[] =
{
{ "GL_ARB_multisample", GL_ARB_multisample_functions },
{ "GL_ARB_multitexture", NULL },
#include "GL/internal/dri_interface.h"
+extern const struct dri_extension card_extensions[];
+
static __GLcontextModes *fill_in_modes( __GLcontextModes *modes,
unsigned pixel_bits,
unsigned depth_bits,
*driver_modes = i810FillInModes( 16,
16, 0,
1);
+ driInitExtensions( NULL, card_extensions, GL_TRUE );
}
return (void *) psp;