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