mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
ceefcca7ad
Fix errors such as GL_FRAMEBUFFER_UNDEFINED and GL_INVALID_FRAMEBUFFER_OPERATION for OpenGL
functions when the default framebuffer 0 is bound on macOS.
These errors happen because the NSOpenGLContext doesn't have a view bound at the time of an
OpenGL call. The view could not be set for the NSOpenGLContext because the window or view can
still be invisible. Setting an invisible view for the NSOpenGLContext can generate invalid
drawable messages as
|
||
---|---|---|
.. | ||
tests | ||
make_opengl | ||
Makefile.in | ||
opengl32.spec | ||
private.h | ||
thunks.c | ||
unix_private.h | ||
unix_thunks.c | ||
unix_wgl.c | ||
unixlib.h | ||
version.rc | ||
wgl.c | ||
winegl.xml |