mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Add WIP
This commit is contained in:
parent
8bfc0008b7
commit
4111acd309
|
@ -447,6 +447,11 @@ void CCommandProcessorFragment_SDL::Cmd_Shutdown(const SCommand_Shutdown *pComma
|
|||
|
||||
void CCommandProcessorFragment_SDL::Cmd_Swap(const CCommandBuffer::SCommand_Swap *pCommand)
|
||||
{
|
||||
// TODO: Currently breaks some text fields
|
||||
//int Width, Height;
|
||||
//SDL_GetWindowSize(m_pWindow, &Width, &Height);
|
||||
//glViewport(((float)Width-(float)g_Config.m_GfxScreenWidth)/2, ((float)Height-(float)g_Config.m_GfxScreenHeight)/2, (float)g_Config.m_GfxScreenWidth, (float)g_Config.m_GfxScreenHeight);
|
||||
|
||||
SDL_GL_SwapWindow(m_pWindow);
|
||||
|
||||
if(pCommand->m_Finish)
|
||||
|
|
Loading…
Reference in a new issue