Procházet zdrojové kódy

Removed resizeTo from CocoaCore

Ivan Safrin před 10 roky
rodič
revize
2ecaa7a7e7

+ 1 - 2
include/polycode/core/PolyCocoaCore.h

@@ -116,8 +116,7 @@ namespace Polycode {
 		bool systemUpdate();
 		
 		void Render();
-								
-		void resizeTo(int xRes, int yRes);
+
 		void createThread(Threaded *target);		
 		
 		void createFolder(const String& folderPath);

binární
lib/osx/libPolycore.a


+ 0 - 6
src/core/PolyCocoaCore.mm

@@ -318,12 +318,6 @@ String CocoaCore::executeExternalCommand(String command,  String args, String in
 	return retString;
 }
 
-void CocoaCore::resizeTo(int xRes, int yRes) {
-	this->xRes = xRes;
-	this->yRes = yRes;
-    coreResized = true;
-}
-
 CocoaCore::~CocoaCore() {
 	printf("Shutting down cocoa core\n");
 	[glView setCore:nil];