winemac: Use kCGLPFANoRecovery for accelerated pixel formats in create_context().

oldstable
Ken Thomases 2013-03-27 07:01:22 -05:00 committed by Alexandre Julliard
parent cf2ce8c64b
commit 484cf761fc
1 changed files with 3 additions and 0 deletions

View File

@ -2991,7 +2991,10 @@ static BOOL create_context(struct wgl_context *context, CGLContextObj share)
attribs[n++] = kCGLPFAClosestPolicy;
if (pf->accelerated)
{
attribs[n++] = kCGLPFAAccelerated;
attribs[n++] = kCGLPFANoRecovery;
}
else
{
attribs[n++] = kCGLPFARendererID;