Commit f8714d77 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Unload vertex weight data in case of EXT_VERTEX_WEIGHTING as well.

parent 303aeee4
......@@ -2538,6 +2538,8 @@ static inline void unloadVertexData(IWineD3DStateBlockImpl *stateblock) {
}
if (GL_SUPPORT(ARB_VERTEX_BLEND)) {
glDisableClientState(GL_WEIGHT_ARRAY_ARB);
} else if (GL_SUPPORT(EXT_VERTEX_WEIGHTING)) {
glDisableClientState(GL_VERTEX_WEIGHT_ARRAY_EXT);
}
for (texture_idx = 0; texture_idx < GL_LIMITS(textures); ++texture_idx) {
GL_EXTCALL(glClientActiveTextureARB(GL_TEXTURE0_ARB + texture_idx));
......
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