On 04/10/06, Mirek <[EMAIL PROTECTED]> wrote:
--- directx.c.old       2006-10-03 22:36:25.000000000 +0200
+++ directx.c   2006-10-04 14:24:18.000000000 +0200
@@ -557,6 +558,7 @@
                 gl_info->supported[ARB_MULTISAMPLE] = TRUE;
             } else if (strcmp(ThisExtn, "GL_ARB_multitexture") == 0) {
                 glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB, &gl_max);
+               gl_max *= 2;
                 TRACE_(d3d_caps)(" FOUND: ARB Multitexture support - 
GL_MAX_TEXTURE_UNITS_ARB=%u\n", gl_max);
                 gl_info->supported[ARB_MULTITEXTURE] = TRUE;
                 gl_info->max_textures = min(MAX_TEXTURES, gl_max);

That doesn't look quite correct. What is the actual problem / could
you attach a +d3d_caps log (Just the part where it does extension
detection)?


Reply via email to