typedef struct
{
GLboolean MESA_shader_debug; /* GL_MESA_shader_debug enable */
+ GLboolean GL_ARB_texture_rectangle; /* GL_ARB_texture_rectangle enable */
} pp_ext;
/*
pp_ext_init (pp_ext *self)
{
pp_ext_disable_all (self);
+ self->GL_ARB_texture_rectangle = GL_TRUE;
/* Other initialization code goes here. */
}
{
if (_mesa_strcmp (name, "MESA_shader_debug") == 0)
self->MESA_shader_debug = enable;
+ else if (_mesa_strcmp (name, "GL_ARB_texture_rectangle") == 0)
+ self->GL_ARB_texture_rectangle = enable;
/* Next extension name tests go here. */
else
return GL_FALSE;