From 0a53986983a56e6d77c91856b92ae3ce21bae6e5 Mon Sep 17 00:00:00 2001 From: chsieh Date: Thu, 26 May 2011 21:49:18 -0700 Subject: [PATCH] Fixing linker error, and also one compile error. --- src/physics/debug/QQPhysicsDebugView.mm | 2 +- tanks.xcodeproj/project.pbxproj | 2 ++ 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/physics/debug/QQPhysicsDebugView.mm b/src/physics/debug/QQPhysicsDebugView.mm index bd645ac..713ce9b 100644 --- a/src/physics/debug/QQPhysicsDebugView.mm +++ b/src/physics/debug/QQPhysicsDebugView.mm @@ -70,7 +70,7 @@ if (!context || ![EAGLContext setCurrentContext:context]) { [self release]; - return nil; + return; } sceneScale = 10.0f; diff --git a/tanks.xcodeproj/project.pbxproj b/tanks.xcodeproj/project.pbxproj index 531b7af..9fb3a7f 100644 --- a/tanks.xcodeproj/project.pbxproj +++ b/tanks.xcodeproj/project.pbxproj @@ -161,6 +161,7 @@ 49F2DADF13764ED6000B6B8C /* Sparrow.h in Headers */ = {isa = PBXBuildFile; fileRef = 49F2DA1D13764ED5000B6B8C /* Sparrow.h */; }; 4B8B2A50137D098500CA4076 /* QQAnimationContainer.h in Headers */ = {isa = PBXBuildFile; fileRef = 4B8B2A4E137D098500CA4076 /* QQAnimationContainer.h */; }; 4B8B2A51137D098500CA4076 /* QQAnimationContainer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4B8B2A4F137D098500CA4076 /* QQAnimationContainer.mm */; }; + 4B91A15A138F644000EF4D7C /* QQPhysicsDebugView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 49E834CC13814F7D007A6598 /* QQPhysicsDebugView.mm */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -1124,6 +1125,7 @@ 49E834CE13814F7D007A6598 /* QQGLESDebugDraw.mm in Sources */, 49E834D4138166A6007A6598 /* QQSparrowExtensions.mm in Sources */, 492D80E5138BA4910042D918 /* QQCooldown.mm in Sources */, + 4B91A15A138F644000EF4D7C /* QQPhysicsDebugView.mm in Sources */, 492D80EC138BA4B40042D918 /* QQTank.mm in Sources */, 492D80F1138BA4BC0042D918 /* QQBullet.mm in Sources */, 492D80FD138BCA840042D918 /* QQUnit.mm in Sources */, -- 1.7.0.4