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

Mirek thunder.m at czela.net
Wed Oct 4 07:35:29 CDT 2006


OK, and now what about this patch? With this patch evrything is working 
correctly if i am using nVidia BETA 9625 drivers (HL2 EO, GTA SA, 3DMark 
2003), corectly means same like with old driver and wine 0.9.22.

Mirek

H. Verbeet napsal(a):
> On 04/10/06, Mirek <thunder.m at czela.net> wrote:
> 
>> And what about this patch? It is working with new and old nVidia
>> drivers, but i dont know if some cards have gl_max realy 256 and below.
> 
> There might be. GF4 might be a card we want to check. I do think it's
> a bit dodgy though... you'll probably want to ask Alexandre what he
> would consider acceptable.
> 
> 
> 
-------------- next part --------------
--- 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);


More information about the wine-devel mailing list