Previous 199869 Revisions Next

r192619 Friday 24th February, 2023 at 21:43:33 UTC by Vasantha Crabb
osd: Fixed various OpenGL issues - fixes -nowaitvsync not working on Windows with -video opengl.

Turned shader tool/shader manager into a class so multiple
screens/windows don't nuke each other.

Don't try to get supported extensions without a valid GL context with
Windows OSD.

Use per-context GL function pointers for shader manager and for all
functions when using GL dispatch.  Windows doesn't guarantee extension
functions from one context are valid for another.
[src/osd/modules/opengl]gl_shader_mgr.cpp gl_shader_mgr.h gl_shader_tool.cpp gl_shader_tool.h osd_opengl.h
[src/osd/modules/render]drawogl.cpp sdlglcontext.h winglcontext.h


Previous 199869 Revisions Next


© 1997-2024 The MAME Team