aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/freeze.cpp
diff options
context:
space:
mode:
authorSimei Yin2017-07-15 17:05:40 +0200
committerSimei Yin2017-07-15 17:51:57 +0200
commit59f915710679f007f99a33caadf30aee44d6f37a (patch)
treed4b30ac537e00b7cdb23b1f39bc281d1e726159e /engines/sludge/freeze.cpp
parent8c8e5c44d8d84f27e2d41829364266c9968f4d98 (diff)
downloadscummvm-rg350-59f915710679f007f99a33caadf30aee44d6f37a.tar.gz
scummvm-rg350-59f915710679f007f99a33caadf30aee44d6f37a.tar.bz2
scummvm-rg350-59f915710679f007f99a33caadf30aee44d6f37a.zip
SLUDGE: Remove gl-related graphics.h
Diffstat (limited to 'engines/sludge/freeze.cpp')
-rw-r--r--engines/sludge/freeze.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/sludge/freeze.cpp b/engines/sludge/freeze.cpp
index 01bc9a669e..35dcd56dca 100644
--- a/engines/sludge/freeze.cpp
+++ b/engines/sludge/freeze.cpp
@@ -20,7 +20,6 @@
*
*/
#include "sludge/allfiles.h"
-#include "sludge/graphics.h"
#include "sludge/newfatal.h"
#include "sludge/sprites.h"
#include "sludge/sprbanks.h"
@@ -87,12 +86,6 @@ bool freeze() {
// Grab a copy of the current scene
freezeGraphics();
- int picWidth = sceneWidth;
- int picHeight = sceneHeight;
- if (!NPOT_textures) {
- picWidth = getNextPOT(picWidth);
- picHeight = getNextPOT(picHeight);
- }
newFreezer->backdropSurface.copyFrom(backdropSurface);
newFreezer->sceneWidth = sceneWidth;
newFreezer->sceneHeight = sceneHeight;
@@ -175,7 +168,6 @@ void unfreeze(bool killImage) {
cameraZoom = frozenStuff->cameraZoom;
input.mouseX = (int)(input.mouseX / cameraZoom);
input.mouseY = (int)(input.mouseY / cameraZoom);
- setPixelCoords(false);
killAllPeople();
allPeople = frozenStuff->allPeople;