diff options
Diffstat (limited to 'src/mesa/drivers/glide/fxdd.c')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 2f0d4fc9b28..cbd906627db 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -1338,6 +1338,10 @@ fxDDInitFxMesaContext(fxMesaContext fxMesa) grLfbWriteColorFormat(GR_COLORFORMAT_ABGR); } + if (fxMesa->Glide.grSetNumPendingBuffers != NULL) { + fxMesa->Glide.grSetNumPendingBuffers(fxMesa->maxPendingSwapBuffers); + } + fxMesa->textureAlign = FX_grGetInteger(GR_TEXTURE_ALIGN); /* [koolsmoky] */ { @@ -1499,6 +1503,10 @@ fxDDInitExtensions(GLcontext * ctx) } /* core-level extensions */ +#if 0 + /* not until texel fetchers are right */ + _mesa_enable_extension(ctx, "GL_SGIS_generate_mipmaps"); +#endif #if 1 _mesa_enable_extension(ctx, "GL_ARB_vertex_buffer_object"); #endif @@ -1507,10 +1515,6 @@ fxDDInitExtensions(GLcontext * ctx) _mesa_enable_extension(ctx, "GL_ARB_fragment_program"); _mesa_enable_extension(ctx, "GL_ARB_vertex_program"); #endif -#if 0 - /* not until texel fetchers are right */ - _mesa_enable_extension(ctx, "GL_SGIS_generate_mipmaps"); -#endif } |