fixed interaction bug
This commit is contained in:
@@ -16,9 +16,9 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// public constructor/destructor
|
||||
|
||||
OpenGLController& OpenGLController::getInstance(int oglMajor, int oglMinor)
|
||||
OpenGLController* OpenGLController::getInstance(int oglMajor, int oglMinor)
|
||||
{
|
||||
static OpenGLController instace(oglMajor, oglMinor);
|
||||
static OpenGLController *instace = new OpenGLController(oglMajor, oglMinor);
|
||||
return instace;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user