wined3d: Fix typo in ARB pixel shader.
This commit is contained in:
parent
d42002b72c
commit
95ac88cc0b
|
@ -120,7 +120,7 @@ void shader_arb_load_constants(
|
|||
|
||||
if (usePixelShader) {
|
||||
|
||||
IWineD3DBaseShaderImpl* pshader = (IWineD3DBaseShaderImpl*) stateBlock->vertexShader;
|
||||
IWineD3DBaseShaderImpl* pshader = (IWineD3DBaseShaderImpl*) stateBlock->pixelShader;
|
||||
|
||||
/* Load DirectX 9 float constants for pixel shader */
|
||||
shader_arb_load_constantsF(pshader, gl_info, GL_FRAGMENT_PROGRAM_ARB, WINED3D_PSHADER_MAX_CONSTANTS,
|
||||
|
|
Loading…
Reference in New Issue