summaryrefslogtreecommitdiff
path: root/src/video/sdl2_opengl_v.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/sdl2_opengl_v.cpp')
-rw-r--r--src/video/sdl2_opengl_v.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video/sdl2_opengl_v.cpp b/src/video/sdl2_opengl_v.cpp
index a24d6cf2f..9c9a9c6fa 100644
--- a/src/video/sdl2_opengl_v.cpp
+++ b/src/video/sdl2_opengl_v.cpp
@@ -50,12 +50,12 @@ static OGLProc GetOGLProcAddressCallback(const char *proc)
bool VideoDriver_SDL_OpenGL::CreateMainWindow(uint w, uint h, uint flags)
{
- return this->VideoDriver_SDL::CreateMainWindow(w, h, SDL_WINDOW_OPENGL);
+ return this->VideoDriver_SDL_Base::CreateMainWindow(w, h, SDL_WINDOW_OPENGL);
}
const char *VideoDriver_SDL_OpenGL::Start(const StringList &param)
{
- const char *error = VideoDriver_SDL::Start(param);
+ const char *error = VideoDriver_SDL_Base::Start(param);
if (error != nullptr) return error;
error = this->AllocateContext();
@@ -79,7 +79,7 @@ const char *VideoDriver_SDL_OpenGL::Start(const StringList &param)
void VideoDriver_SDL_OpenGL::Stop()
{
this->DestroyContext();
- this->VideoDriver_SDL::Stop();
+ this->VideoDriver_SDL_Base::Stop();
}
void VideoDriver_SDL_OpenGL::DestroyContext()