[Wine] OpenGL issues on OSX (wine 1.3.21)

Charles Davis cdavis at mymail.mines.edu
Sat Jun 4 18:19:15 CDT 2011


On 6/4/11 5:09 PM, asiga wrote:
> Charles Davis wrote:
>> On 6/4/11 3:23 PM, asiga wrote:
>>
>>> Sat Jun  4 23:12:07 mba-cbu.local wine[613] <Error>: unknown error code: invalid drawable
>>> Sat Jun  4 23:12:07 mba-cbu.local wine[613] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
>>> set off screen: invalid drawable
>>>
>> Looks like it tried to wglMakeCurrent() a bitmap context. For some
>> reason, bitmap contexts don't work very well under Wine.
>>
>> Chip
> 
> AFAIK it's not a bitmap context, but an OpenGL window...
Are you sure?
> 
> Btw, where is pwglMakeCurrent() initialized? What function does it point to? I'm trying to diagnose the problem, but I'm unable to find the code of the function it points to.
In the driver, of course. The driver in this case is winex11.drv. The
source file you're looking for is dlls/winex11.drv/opengl.c.

Chip



More information about the wine-users mailing list