wined3d: Do not enable GL_TEXTURE_SHADER_NV unconditionally.
This commit is contained in:
parent
a6715f856e
commit
40cfec2582
|
@ -538,9 +538,6 @@ WineD3DContext *CreateContext(IWineD3DDeviceImpl *This, IWineD3DSurfaceImpl *tar
|
||||||
checkGLcall("glEnable(GL_WEIGHT_SUM_UNITY_ARB)");
|
checkGLcall("glEnable(GL_WEIGHT_SUM_UNITY_ARB)");
|
||||||
}
|
}
|
||||||
if(GL_SUPPORT(NV_TEXTURE_SHADER2)) {
|
if(GL_SUPPORT(NV_TEXTURE_SHADER2)) {
|
||||||
glEnable(GL_TEXTURE_SHADER_NV);
|
|
||||||
checkGLcall("glEnable(GL_TEXTURE_SHADER_NV)");
|
|
||||||
|
|
||||||
/* Set up the previous texture input for all shader units. This applies to bump mapping, and in d3d
|
/* Set up the previous texture input for all shader units. This applies to bump mapping, and in d3d
|
||||||
* the previous texture where to source the offset from is always unit - 1.
|
* the previous texture where to source the offset from is always unit - 1.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue