summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxdd.c
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-02-16 07:32:27 +0000
committerDaniel Borca <[email protected]>2004-02-16 07:32:27 +0000
commit45f4c5ec3bf30d421dba1ffbffa97f5c4a14e942 (patch)
tree5f03e59d9174080ad0665e95e8e97c2e92ad38c4 /src/mesa/drivers/glide/fxdd.c
parenta49a08d014a36a06afc0a8bec0bfefb1c2243b31 (diff)
cleanup and some WGL PIXELFORMAT issues
Diffstat (limited to 'src/mesa/drivers/glide/fxdd.c')
-rw-r--r--src/mesa/drivers/glide/fxdd.c12
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
}