summaryrefslogtreecommitdiff
path: root/platform/osx/gl_manager_osx.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/osx/gl_manager_osx.mm')
-rw-r--r--platform/osx/gl_manager_osx.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/gl_manager_osx.mm b/platform/osx/gl_manager_osx.mm
index cce58530ee..60e0706fc0 100644
--- a/platform/osx/gl_manager_osx.mm
+++ b/platform/osx/gl_manager_osx.mm
@@ -75,7 +75,7 @@ Error GLManager_OSX::window_create(DisplayServer::WindowID p_window_id, id p_vie
win.window_view = p_view;
if (_create_context(win) != OK) {
- _windows.remove(_windows.size() - 1);
+ _windows.remove_at(_windows.size() - 1);
return FAILED;
}