wined3d: Use ARB_VERTEX_PROGRAM instead of GL_VERTEX_PROGRAM_ARB with GL_SUPPORT.

Spotted by Marcus Meissner.
This commit is contained in:
H. Verbeet 2007-01-22 19:38:13 +01:00 committed by Alexandre Julliard
parent 81804538cf
commit 32778357f8
1 changed files with 1 additions and 1 deletions

View File

@ -947,7 +947,7 @@ static void shader_arb_select(IWineD3DDevice *iface, BOOL usePS, BOOL useVS) {
checkGLcall("glEnable(GL_VERTEX_PROGRAM_ARB);");
TRACE("(%p) : Bound vertex program %u and enabled GL_VERTEX_PROGRAM_ARB\n",
This, ((IWineD3DVertexShaderImpl *)This->stateBlock->vertexShader)->baseShader.prgId);
} else if(GL_SUPPORT(GL_VERTEX_PROGRAM_ARB)) {
} else if(GL_SUPPORT(ARB_VERTEX_PROGRAM)) {
glDisable(GL_VERTEX_PROGRAM_ARB);
checkGLcall("glDisable(GL_VERTEX_PROGRAM_ARB)");
}