GrScreenRefresh_t ref,
const GLint attribList[])
{
- fxMesaContext fxMesa;
+ fxMesaContext fxMesa = NULL;
int i,type;
int aux;
GLboolean doubleBuffer=GL_FALSE;
if (fxMesa->state)
free(fxMesa->state);
- if (fxMesa && fxMesa->fogTable)
+ if (fxMesa->fogTable)
free(fxMesa->fogTable);
if (fxMesa->glBuffer)
gl_destroy_framebuffer(fxMesa->glBuffer);
gl_destroy_context(fxMesa->glCtx);
free(fxMesa);
}
-
-
-
-
-
+
if (MESA_VERBOSE&VERBOSE_DRIVER) {
fprintf(stderr,"fxmesa: fxMesaCreateContext() End (%s)\n",errorstr);
}