wined3d: Initialize maxAttribs in case it isn't changed by glGetIntegerv.
This commit is contained in:
parent
b83fbb4f03
commit
1110f17581
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue