From dce3be56f1d73e70b6a8e39704781853cea89102 Mon Sep 17 00:00:00 2001 From: Nikolas Nyby Date: Wed, 18 Jun 2025 18:39:42 -0400 Subject: [PATCH] Fix: GL error typo --- src/video/sdl2_opengl_v.cpp | 2 +- src/video/win32_v.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video/sdl2_opengl_v.cpp b/src/video/sdl2_opengl_v.cpp index 6ab2ff6a78..de99ead058 100644 --- a/src/video/sdl2_opengl_v.cpp +++ b/src/video/sdl2_opengl_v.cpp @@ -118,7 +118,7 @@ std::optional VideoDriver_SDL_OpenGL::AllocateContext() } this->gl_context = SDL_GL_CreateContext(this->sdl_window); - if (this->gl_context == nullptr) return "SDL2: Can't active GL context"; + if (this->gl_context == nullptr) return "SDL2: Can't activate GL context"; ToggleVsync(_video_vsync); diff --git a/src/video/win32_v.cpp b/src/video/win32_v.cpp index 798a2dc475..1f7899a0d4 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -1507,7 +1507,7 @@ std::optional VideoDriver_Win32OpenGL::AllocateContext() rc = wglCreateContext(this->dc); if (rc == nullptr) return "Can't create OpenGL context"; } - if (!wglMakeCurrent(this->dc, rc)) return "Can't active GL context"; + if (!wglMakeCurrent(this->dc, rc)) return "Can't activate GL context"; this->ToggleVsync(_video_vsync);