Commit 1110f175 authored by Philip Nilsson's avatar Philip Nilsson Committed by Alexandre Julliard

wined3d: Initialize maxAttribs in case it isn't changed by glGetIntegerv.

parent b83fbb4f
......@@ -3003,7 +3003,7 @@ static inline void unloadVertexData(IWineD3DStateBlockImpl *stateblock) {
*/
static inline void unloadNumberedArrays(IWineD3DStateBlockImpl *stateblock) {
/* disable any attribs (this is the same for both GLSL and ARB modes) */
GLint maxAttribs;
GLint maxAttribs = 16;
int i;
/* Leave all the attribs disabled */
......
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