mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Clean up OpenGL command processor
This commit is contained in:
parent
12f150393b
commit
406d383c45
|
@ -4019,6 +4019,11 @@ CCommandProcessor_SDL_OpenGL::CCommandProcessor_SDL_OpenGL(int OpenGLMajor, int
|
|||
}
|
||||
}
|
||||
|
||||
CCommandProcessor_SDL_OpenGL::~CCommandProcessor_SDL_OpenGL()
|
||||
{
|
||||
delete m_pOpenGL;
|
||||
}
|
||||
|
||||
// ------------ CGraphicsBackend_SDL_OpenGL
|
||||
|
||||
static void GetGlewVersion(int &GlewMajor, int &GlewMinor, int &GlewPatch)
|
||||
|
|
|
@ -211,6 +211,7 @@ protected:
|
|||
|
||||
public:
|
||||
CCommandProcessorFragment_OpenGL();
|
||||
virtual ~CCommandProcessorFragment_OpenGL() = default;
|
||||
|
||||
bool RunCommand(const CCommandBuffer::SCommand *pBaseCommand);
|
||||
};
|
||||
|
@ -468,6 +469,7 @@ class CCommandProcessor_SDL_OpenGL : public CGraphicsBackend_Threaded::ICommandP
|
|||
|
||||
public:
|
||||
CCommandProcessor_SDL_OpenGL(int OpenGLMajor, int OpenGLMinor, int OpenGLPatch);
|
||||
virtual ~CCommandProcessor_SDL_OpenGL();
|
||||
virtual void RunBuffer(CCommandBuffer *pBuffer);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue