ALL: Merge from ScummVM rev 3a933138ce
This commit is contained in:
parent
5dad979952
commit
3ec01653c3
134 changed files with 9868 additions and 9034 deletions
|
@ -41,7 +41,7 @@ void SdlGraphicsManager::deactivateManager() {
|
|||
_eventSource->setGraphicsManager(0);
|
||||
}
|
||||
|
||||
SdlGraphicsManager::State SdlGraphicsManager::getState() {
|
||||
SdlGraphicsManager::State SdlGraphicsManager::getState() const {
|
||||
State state;
|
||||
|
||||
state.screenWidth = getWidth();
|
||||
|
@ -60,7 +60,7 @@ bool SdlGraphicsManager::setState(const State &state) {
|
|||
#ifdef USE_RGB_COLOR
|
||||
initSize(state.screenWidth, state.screenHeight, &state.pixelFormat);
|
||||
#else
|
||||
initSize(state.screenWidth, state.screenHeight, 0);
|
||||
initSize(state.screenWidth, state.screenHeight, nullptr);
|
||||
#endif
|
||||
setFeatureState(OSystem::kFeatureAspectRatioCorrection, state.aspectRatio);
|
||||
setFeatureState(OSystem::kFeatureFullscreenMode, state.fullscreen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue