aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-20 14:43:55 +0100
committerJohannes Schickel2012-02-20 15:37:23 +0100
commit76be031ed4b000ec96d7a650c21c2158ecea2b4b (patch)
treef25cf8708cb8a8d3fadf74b33f79d8c55c80f84d /backends
parent3f6d549b0e891be33ef48926629d6e626009fc8f (diff)
downloadscummvm-rg350-76be031ed4b000ec96d7a650c21c2158ecea2b4b.tar.gz
scummvm-rg350-76be031ed4b000ec96d7a650c21c2158ecea2b4b.tar.bz2
scummvm-rg350-76be031ed4b000ec96d7a650c21c2158ecea2b4b.zip
IPHONE: Remove some unused variables.
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/iphone/iphone_video.h1
-rw-r--r--backends/platform/iphone/iphone_video.m3
2 files changed, 0 insertions, 4 deletions
diff --git a/backends/platform/iphone/iphone_video.h b/backends/platform/iphone/iphone_video.h
index f484ebbb9e..5b4e0fdbd0 100644
--- a/backends/platform/iphone/iphone_video.h
+++ b/backends/platform/iphone/iphone_video.h
@@ -37,7 +37,6 @@
void *_screenSurface;
NSMutableArray *_events;
SoftKeyboard *_keyboardView;
- CALayer *_screenLayer;
int _widthOffset;
int _heightOffset;
diff --git a/backends/platform/iphone/iphone_video.m b/backends/platform/iphone/iphone_video.m
index 416344265e..06ed7e871e 100644
--- a/backends/platform/iphone/iphone_video.m
+++ b/backends/platform/iphone/iphone_video.m
@@ -42,7 +42,6 @@ static int _overlayWidth = 0;
static int _overlayHeight = 0;
static float _overlayPortraitRatio = 1.0f;
-NSLock *_lock = nil;
static int _needsScreenUpdate = 0;
static int _overlayIsEnabled = 0;
@@ -247,11 +246,9 @@ static void setFilterModeForTexture(GLuint tex, GraphicsModes mode) {
_fullWidth = frame.size.width;
_fullHeight = frame.size.height;
- _screenLayer = nil;
sharedInstance = self;
- _lock = [NSLock new];
_keyboardView = nil;
_context = nil;
_screenTexture = 0;