]> git.saurik.com Git - veency.git/commitdiff
Remove hard-coded 'accelerated' detection bypass: fix iPod Touch.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 30 Aug 2011 22:39:05 +0000 (22:39 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 30 Aug 2011 22:39:05 +0000 (22:39 +0000)
Tweak.mm

index 50ac9f44a8d19f93bfe09aa8484bbd38033dbfeb..bbe03389fbe885f3854149a98bc180770901c216 100644 (file)
--- a/Tweak.mm
+++ b/Tweak.mm
@@ -567,7 +567,6 @@ static void VNCSetup() {
         opengles2 = NULL;
 
     bool accelerated(opengles2 != NULL && [(NSNumber *)opengles2 boolValue]);
-    accelerated = true;
 
     if (accelerated)
         CoreSurfaceAcceleratorCreate(NULL, NULL, &accelerator_);