From 6d56924bb1854ee9592c4223a4746a32038ade6d Mon Sep 17 00:00:00 2001
From: Oystein Eftevaag
Date: Sun, 10 May 2009 22:15:33 +0000
Subject: iPhone fixes for compiling with the unofficial sdk

svn-id: r40440
---
 backends/platform/iphone/iphone_video.m | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'backends/platform')

diff --git a/backends/platform/iphone/iphone_video.m b/backends/platform/iphone/iphone_video.m
index 5f6804bc17..690e2339ae 100644
--- a/backends/platform/iphone/iphone_video.m
+++ b/backends/platform/iphone/iphone_video.m
@@ -26,10 +26,6 @@
 #include "iphone_video.h"
 #include "iphone_common.h"
 
-#import <UIKit/UIKit.h>
-#import <Foundation/Foundation.h>
-#import <QuartzCore/QuartzCore.h>
-
 static iPhoneView *sharedInstance = nil;
 static int _width = 0;
 static int _height = 0;
@@ -271,7 +267,6 @@ uint getSizeNextPOT(uint size) {
 
 	glGenTextures(1, &_screenTexture);
 	glBindTexture(GL_TEXTURE_2D, _screenTexture);
-	glEnable(GL_TEXTURE_2D);
 	glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
 	
 	if (_textureBuffer) {
-- 
cgit v1.2.3