http://bugs.winehq.org/show_bug.cgi?id=19412
--- Comment #21 from Stefan Dösinger stefandoesinger@gmx.at 2009-07-29 15:30:43 --- Created an attachment (id=22689) --> (http://bugs.winehq.org/attachment.cgi?id=22689) Test case for the glCompressedTexImage2D bug
The glCompressedTexSubImage2D bug never occured on Macs with Nvidia cards. I only positively reproduced it on Intel GMA X3100 macs, and I think it also occurs on ATI cards, but I have to test there.
Attached is the test case I sent to Apple for this bug. If it runs properly, it should show one of Half Life 2's static backgrounds(pretty dark, because its sRGB'ed). If the driver has the bug, the app shows either a static color or random garbage.
Compile with gcc srgbtexture.c -o srgbtexture -framework opengl -framework glut. There might be a bunch of compile errors due to the way I include the glut headers(or rather, do not include them)