wined3d: Report the correct number of available 4-component float vectors for GLSL

H. Verbeet hverbeet at gmail.com
Wed Oct 4 07:57:00 CDT 2006


On 04/10/06, Mirek <thunder.m at czela.net> 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)?



More information about the wine-devel mailing list