wined3d: Fix typo in ARB pixel shader.

This commit is contained in:
Christian Costa 2006-07-17 20:30:02 +02:00 committed by Alexandre Julliard
parent d42002b72c
commit 95ac88cc0b
1 changed files with 1 additions and 1 deletions

View File

@ -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,