Corrected getContext accessor method
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4066
This commit is contained in:
@@ -51,7 +51,7 @@ typedef enum KREngineParameterType {KRENGINE_PARAMETER_INT, KRENGINE_PARAMETER_F
|
||||
KRCamera m_camera;
|
||||
}
|
||||
|
||||
@property(nonatomic, readonly) KRContext *context;
|
||||
@property(nonatomic, readonly, assign) KRContext context;
|
||||
@property(nonatomic, retain) NSString *debug_text;
|
||||
|
||||
- (id)initForWidth: (GLuint)width Height: (GLuint)height;
|
||||
|
||||
@@ -49,13 +49,9 @@ using namespace std;
|
||||
|
||||
@implementation KREngine
|
||||
@synthesize debug_text = _debug_text;
|
||||
@synthesize context = m_context;
|
||||
double const PI = 3.141592653589793f;
|
||||
|
||||
-(KRContext *)getContext
|
||||
{
|
||||
return &m_context;
|
||||
}
|
||||
|
||||
- (id)initForWidth: (GLuint)width Height: (GLuint)height
|
||||
{
|
||||
if ((self = [super init])) {
|
||||
|
||||
Reference in New Issue
Block a user