mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
Minor cleanup.
This commit is contained in:
parent
08a454c7af
commit
d598ca05e1
1 changed files with 3 additions and 7 deletions
|
|
@ -824,7 +824,7 @@ fxMesaContext GLAPIENTRY fxMesaCreateContext(GLuint win,GrScreenResolution_t res
|
|||
GrScreenRefresh_t ref,
|
||||
const GLint attribList[])
|
||||
{
|
||||
fxMesaContext fxMesa;
|
||||
fxMesaContext fxMesa = NULL;
|
||||
int i,type;
|
||||
int aux;
|
||||
GLboolean doubleBuffer=GL_FALSE;
|
||||
|
|
@ -1131,7 +1131,7 @@ errorhandler:
|
|||
|
||||
if (fxMesa->state)
|
||||
free(fxMesa->state);
|
||||
if (fxMesa && fxMesa->fogTable)
|
||||
if (fxMesa->fogTable)
|
||||
free(fxMesa->fogTable);
|
||||
if (fxMesa->glBuffer)
|
||||
gl_destroy_framebuffer(fxMesa->glBuffer);
|
||||
|
|
@ -1141,11 +1141,7 @@ errorhandler:
|
|||
gl_destroy_context(fxMesa->glCtx);
|
||||
free(fxMesa);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (MESA_VERBOSE&VERBOSE_DRIVER) {
|
||||
fprintf(stderr,"fxmesa: fxMesaCreateContext() End (%s)\n",errorstr);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue