aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;