Skip to content

Commit

Permalink
DisplayMode: Return value indicates whether a mode change occurred
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Mar 22, 2012
1 parent b6a71b4 commit 226e425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/src/displaymode.cpp
Expand Up @@ -305,7 +305,7 @@ int DisplayMode_Change(const DisplayMode* mode, boolean shouldCapture)
qDebug() << "DisplayMode: Requested mode is the same as current, ignoring.";

// Already in this mode.
return true;
return false;
}
captured = shouldCapture;
return DisplayMode_Native_Change(mode, shouldCapture || (originalMode != *mode));
Expand Down

0 comments on commit 226e425

Please sign in to comment.