From 76be031ed4b000ec96d7a650c21c2158ecea2b4b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 20 Feb 2012 14:43:55 +0100 Subject: IPHONE: Remove some unused variables. --- backends/platform/iphone/iphone_video.h | 1 - backends/platform/iphone/iphone_video.m | 3 --- 2 files changed, 4 deletions(-) (limited to 'backends') 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; -- cgit v1.2.3