Skip to content

Commit

Permalink
Fixed|ClientWindow|Windows: Use of the new fsaa/vsync variables
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Nov 17, 2014
1 parent bc765f7 commit 71ddc7d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doomsday/client/src/ui/clientwindow.cpp
Expand Up @@ -528,6 +528,7 @@ DENG2_PIMPL(ClientWindow)
{
#ifdef WIN32
self.updateCanvasFormat();
DENG2_UNUSED(newValue);
#else
GL_SetVSync(newValue.isTrue());
#endif
Expand Down Expand Up @@ -971,7 +972,7 @@ bool ClientWindow::setDefaultGLFormat() // static
}

#ifdef WIN32
if(CommandLine_Exists("-novsync") || !App::config().getb(configName("vsync")))
if(CommandLine_Exists("-novsync") || !App::config().getb("window.main.vsync"))
{
fmt.setSwapInterval(0);
}
Expand All @@ -982,7 +983,7 @@ bool ClientWindow::setDefaultGLFormat() // static
#endif

int sampleCount = 1;
bool configured = de::App::config().getb("window.main.fsaa");
bool configured = App::config().getb("window.main.fsaa");
if(CommandLine_Exists("-nofsaa") || !configured)
{
LOG_GL_VERBOSE("Multisampling off");
Expand Down

0 comments on commit 71ddc7d

Please sign in to comment.