wined3d: Use GL_APPLE_flush_render and GL_APPLE_rgb_422 to detect Apple OpenGL.
commit2929a3a056e29fcf89c80acc5df1623f9aff83d8
authorChip Davis <cdavis@codeweavers.com>
Fri, 10 Apr 2020 17:03:50 +0000 (10 21:33 +0430)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 10 Apr 2020 17:09:37 +0000 (10 19:09 +0200)
tree60f83a502a40646a3d346f5f8f40d3c635c2f34a
parent526e1138fcaaeb4176ae3913a03ff177a71e6ad9
wined3d: Use GL_APPLE_flush_render and GL_APPLE_rgb_422 to detect Apple OpenGL.

In addition to the existing GL_APPLE_ycbcr_422. Core contexts on Mac OS don't
advertise GL_APPLE_fence or GL_APPLE_ycbcr_422... but they do have
GL_APPLE_flush_render and GL_APPLE_rgb_422. So, go back to using
GL_APPLE_flush_render in our OS X detection, and accept GL_APPLE_rgb_422 in
addition to GL_APPLE_ycbcr_422.

Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/adapter_gl.c
dlls/wined3d/wined3d_gl.h