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

Stefan Dösinger stefan at codeweavers.com
Sat Mar 22 14:04:52 CDT 2008


Am Samstag, 22. März 2008 18:28:52 schrieb Philip Nilsson:
> My OpenGL implementation (NVIDIA's binary driver, version 169.12)
> returns GL_NO_ERROR in this function, but doesn't change the passed
> value.  Uninitialized maxAttribs might be about 1500000 and thus
> generate a couple hundred megabytes of GL_CHECK_CALL errors.
>
> 16 is what is set if glGetIntegerv returns some error, and is also the
> minimum value required by an implementation.
I've seen this behavior very old drivers(87.xx), but I am kinda puzzled why it 
happens with the new drivers. The patch is OK, but we should investigate why 
the call fails for you



More information about the wine-devel mailing list