mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
#3623: ensure data.egl_cfg is set in eglSwapBuffers_renderdoc_hooked
This commit is contained in:
committed by
Baldur Karlsson
parent
9bad0c5ec0
commit
9323872925
@@ -554,6 +554,9 @@ HOOK_EXPORT EGLBoolean EGLAPIENTRY eglSwapBuffers_renderdoc_hooked(EGLDisplay dp
|
||||
data.egl_wnd = surface;
|
||||
data.egl_ctx = EGL.GetCurrentContext();
|
||||
|
||||
// we could query this out technically but it's easier to keep a map
|
||||
data.egl_cfg = eglhook.configs[data.egl_ctx];
|
||||
|
||||
eglhook.RefreshWindowParameters(data);
|
||||
|
||||
SurfaceConfig cfg = eglhook.windows[surface];
|
||||
|
||||
Reference in New Issue
Block a user