|
From: <ka...@us...> - 2012-01-13 00:40:50
|
Revision: 3723
http://java-game-lib.svn.sourceforge.net/java-game-lib/?rev=3723&view=rev
Author: kappa1
Date: 2012-01-13 00:40:43 +0000 (Fri, 13 Jan 2012)
Log Message:
-----------
OS X slight tweak to MacOSXCanvasPeerInfo in prep to make it compatible for 10.5 again
Modified Paths:
--------------
trunk/LWJGL/src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.m
Modified: trunk/LWJGL/src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.m
===================================================================
--- trunk/LWJGL/src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.m 2012-01-11 20:46:57 UTC (rev 3722)
+++ trunk/LWJGL/src/native/macosx/org_lwjgl_opengl_MacOSXCanvasPeerInfo.m 2012-01-13 00:40:43 UTC (rev 3723)
@@ -48,21 +48,6 @@
#include "context.h"
#include "common_tools.h"
-// forward declaration
-@interface PBufferGLLayer : NSOpenGLLayer {
- MacOSXPeerInfo *peer_info;
- GLuint textureID;
-}
-
-- (MacOSXPeerInfo*) peer_info;
-- (GLuint) textureID;
-
-- (void) setPeer_info: (MacOSXPeerInfo*)input;
-- (void) setTextureID: (GLuint)input;
-
-@end
-
-// forward declaration
@interface AttachLayerOnMainThread : NSObject {
MacOSXPeerInfo *peer_info;
JAWT_MacOSXDrawingSurfaceInfo *macosx_dsi;
@@ -134,6 +119,19 @@
[pool release];
}
+@interface PBufferGLLayer : NSOpenGLLayer {
+ MacOSXPeerInfo *peer_info;
+ GLuint textureID;
+}
+
+- (MacOSXPeerInfo*) peer_info;
+- (GLuint) textureID;
+
+- (void) setPeer_info: (MacOSXPeerInfo*)input;
+- (void) setTextureID: (GLuint)input;
+
+@end
+
// Object class to CALayer on AppKit Thread
@implementation AttachLayerOnMainThread
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|