summaryrefslogtreecommitdiffstats
path: root/platform/windows/gl_manager_windows_angle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/windows/gl_manager_windows_angle.cpp')
-rw-r--r--platform/windows/gl_manager_windows_angle.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/windows/gl_manager_windows_angle.cpp b/platform/windows/gl_manager_windows_angle.cpp
index 3086edc7f2..c52564676f 100644
--- a/platform/windows/gl_manager_windows_angle.cpp
+++ b/platform/windows/gl_manager_windows_angle.cpp
@@ -67,4 +67,9 @@ Vector<EGLint> GLManagerANGLE_Windows::_get_platform_context_attribs() const {
return ret;
}
+void GLManagerANGLE_Windows::window_resize(DisplayServer::WindowID p_window_id, int p_width, int p_height) {
+ window_make_current(p_window_id);
+ eglWaitNative(EGL_CORE_NATIVE_ENGINE);
+}
+
#endif // WINDOWS_ENABLED && GLES3_ENABLED