about summary refs log tree commit diff
path: root/src/engine/client/graphics_threaded.cpp
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2012-03-04 12:46:55 +0100
committeroy <Tom_Adams@web.de>2013-02-24 17:25:55 +0100
commit2a4af1573b385f1c30ce376eee1385581d42beab (patch)
tree063e19c50895094adef5379eaaa1f8caa5ae8299 /src/engine/client/graphics_threaded.cpp
parent38256d0d45ff929796cc85d0dfcb39242290f3ba (diff)
downloadzcatch-2a4af1573b385f1c30ce376eee1385581d42beab.tar.gz
zcatch-2a4af1573b385f1c30ce376eee1385581d42beab.zip
auto adjust the screen resolution on first start. Closes #921
Diffstat (limited to 'src/engine/client/graphics_threaded.cpp')
-rw-r--r--src/engine/client/graphics_threaded.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/client/graphics_threaded.cpp b/src/engine/client/graphics_threaded.cpp
index 846f0369..0c99ebf7 100644
--- a/src/engine/client/graphics_threaded.cpp
+++ b/src/engine/client/graphics_threaded.cpp
@@ -716,7 +716,7 @@ int CGraphics_Threaded::IssueInit()
 	if(g_Config.m_GfxVsync) Flags |= IGraphicsBackend::INITFLAG_VSYNC;
 	if(g_Config.m_DbgResizable) Flags |= IGraphicsBackend::INITFLAG_RESIZABLE;
 
-	return m_pBackend->Init("Teeworlds", g_Config.m_GfxScreenWidth, g_Config.m_GfxScreenHeight, g_Config.m_GfxFsaaSamples, Flags);
+	return m_pBackend->Init("Teeworlds", &g_Config.m_GfxScreenWidth, &g_Config.m_GfxScreenHeight, g_Config.m_GfxFsaaSamples, Flags);
 }
 
 int CGraphics_Threaded::InitWindow()