diff --git a/src/posix/cocoa/gl_sysfb.h b/src/posix/cocoa/gl_sysfb.h index 39c8f8ab4..fc957a641 100644 --- a/src/posix/cocoa/gl_sysfb.h +++ b/src/posix/cocoa/gl_sysfb.h @@ -83,8 +83,6 @@ protected: void SetFullscreenMode(); void SetWindowedMode(); - void InitializeState(); - void SwapBuffers(); void SetGammaTable(uint16_t* table); diff --git a/src/posix/cocoa/i_video.mm b/src/posix/cocoa/i_video.mm index f50f1a4af..f4f03f2df 100644 --- a/src/posix/cocoa/i_video.mm +++ b/src/posix/cocoa/i_video.mm @@ -422,10 +422,6 @@ void SystemGLFrameBuffer::SetVSync(bool vsync) } -void SystemGLFrameBuffer::InitializeState() -{ -} - void SystemGLFrameBuffer::SwapBuffers() { [[NSOpenGLContext currentContext] flushBuffer]; diff --git a/src/posix/sdl/gl_sysfb.h b/src/posix/sdl/gl_sysfb.h index 16f2171ce..6972dd449 100644 --- a/src/posix/sdl/gl_sysfb.h +++ b/src/posix/sdl/gl_sysfb.h @@ -32,7 +32,6 @@ public: protected: void SetGammaTable(uint16_t *tbl); void ResetGammaTable(); - void InitializeState(); SystemGLFrameBuffer () {} uint8_t GammaTable[3][256]; diff --git a/src/posix/sdl/sdlglvideo.cpp b/src/posix/sdl/sdlglvideo.cpp index 42c7a7c20..34200520a 100644 --- a/src/posix/sdl/sdlglvideo.cpp +++ b/src/posix/sdl/sdlglvideo.cpp @@ -273,12 +273,6 @@ SystemGLFrameBuffer::~SystemGLFrameBuffer () } - - -void SystemGLFrameBuffer::InitializeState() -{ -} - void SystemGLFrameBuffer::SetGammaTable(uint16_t *tbl) { if (m_supportsGamma)