1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
nikolas eb12daf8e4
Merge dce3be56f1 into aaf5d39b15 2025-07-11 04:47:50 +00:00
Nikolas Nyby dce3be56f1 Fix: GL error typo 2025-06-18 18:39:42 -04:00
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ std::optional<std::string_view> 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);

View File

@ -1507,7 +1507,7 @@ std::optional<std::string_view> 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);