#3623: ensure data.egl_cfg is set in eglSwapBuffers_renderdoc_hooked

This commit is contained in:
Nicolas Morales
2025-06-07 18:07:36 -04:00
committed by Baldur Karlsson
parent 9bad0c5ec0
commit 9323872925
+3
View File
@@ -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];