http://bugs.winehq.org/show_bug.cgi?id=19412
--- Comment #14 from Charles Davis cdavis@mines.edu 2009-07-28 15:13:53 --- (In reply to comment #12)
Actually the comment wrt the glCompressedTexSubImage2D needs to be updated. Its not just the r200 chip that has this problem, this GL call is fubar on Macs too(Nvidia, Intel, maybe even ATI). If you make Wine use it, it will break pretty badly.
That's a shame.
If you think this is a problem of PBOs vs client storage, try to disable client storage and keep PBOs on. If it still works, Henri's suspicion is right. If it doesn't, but disabling PBOs helps its a PBO problem(most likely a mac driver bug if it works on Linux).
Disabling GL_APPLE_client_storage while keeping GL_ARB_pixel_buffer_object on causes the problem to disappear, too. Henri is right: this is definitely a PBO-client storage interaction issue.
Xquartz usually cannot be blamed for GL rendering issues, it just passes any non-GLX calls through to OSX 1:1.
I knew that, but it's just that the Xquartz libGL didn't even support shaders properly until 2.3.2, and it didn't support GLSL at all until around 2.3.3. (Of course, GLSL support on Mac OS didn't matter with Wine until you worked around a bug in OS X GLSL support.)