Is there any limitations on ATI Radeon boards (on MacOS only) when using GL_RGBA texture with GL_TEXTURE_RECTANGLE_EXT ? Minimum size of aspect ratio ?
I found some weird problems on a GPL game I’ve just ported on MacOSX.
There is screenshot
of the problem here (see the ‘white squares’). Apparently the texture failed to load on thoses boards.
It works on every boards on PC (ATI Radeon 9800, nVidia) and (at least) on all nVidia graphics on MacOSX ?
I cannot reproduce the bug on my Mac, because I have an nVidia chipset.
Well, I know of no problems with rectangular textures on ATI, so it seems likely that it is somehow your bug, perhaps a condition that the other renderers don’t enforce. It’s just a bit hard to try to guess what that is.
I presume you’re checking GL errors and coming up clean? Tried using CLAMP_TO_EDGE rather than CLAMP as the S and T wrap modes? (should be better anyway)
CLAMP_TO_EDGE requires an extension, Anyway it doesn’t change anything here (not in that particular case), GL_CLAMP is fine.
I’ve done a pass with GLIntercept, there was indeed a GL_ERROR in the Mag Filtering (used for texture of 3D objects, but 3D objects texturing was fine, the bug affected only the 2D ui thing, and there were not GL_ERROR there.)
Anyway, I have added an option to disable the NPOT usage in the game menu. I think the two options should fix the problem.