From bccbd6403718c2cb64d76f1eea542fb18d9caed7 Mon Sep 17 00:00:00 2001 From: nikolas Date: Thu, 17 Jul 2025 02:18:35 -0400 Subject: [PATCH] Fix: GL error typo (#14376) --- 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 216696d194..33dc0a8b21 100644 --- a/src/video/win32_v.cpp +++ b/src/video/win32_v.cpp @@ -1541,7 +1541,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);