Commit e2be741b authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Remove a MESA hack.

parent 5f723bc4
...@@ -2132,11 +2132,6 @@ static GLuint shader_arb_generate_vshader(IWineD3DVertexShaderImpl *This, ...@@ -2132,11 +2132,6 @@ static GLuint shader_arb_generate_vshader(IWineD3DVertexShaderImpl *This,
shader_addline(buffer, "TEMP A0_SHADOW;\n"); shader_addline(buffer, "TEMP A0_SHADOW;\n");
} }
/* Mesa supports only 95 constants */
if (GL_VEND(MESA) || GL_VEND(WINE))
This->baseShader.limits.constant_float =
min(95, This->baseShader.limits.constant_float);
shader_addline(buffer, "TEMP TA;\n"); shader_addline(buffer, "TEMP TA;\n");
/* Base Declarations */ /* Base Declarations */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment