implement singleton pattern
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
OpenGLController scene;
|
||||
OpenGLController scene = OpenGLController::getInstance();
|
||||
|
||||
do {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user