wined3d: Do not treat oversized textures as failure

Henri Verbeet hverbeet at
Sun Dec 28 13:12:53 CST 2008

2008/12/28 Stefan Dösinger <stefan at>:
>> It tries to create a 1024x1024 texture, and my card (Intel 945GM) is
>> limited
>> to 512x512:
>>  glxinfo -l | grep GL_MAX_TEXTURE_SIZE
>>     GL_MAX_TEXTURE_SIZE = 512
> Wow, that is small. Even my pretty old radeon 9000 supports 2048x2048
> textures...
> I recommend to check the max texture size on Windows(does the game work on
> this card on Windows?). I'd say there's some driver problem here, 512x512
> sounds way too small for any semi-recent card.
My i915 can certainly do more than 512x512.

> That said, we should still fix the memory leak if CreateTexture fails...
Yes, but it's a bit more structural than just CreateTexture(). Most of
the create methods in device are flawed in this way.

More information about the wine-devel mailing list