implement singleton pattern

This commit is contained in:
Anakin
2016-09-07 12:46:34 +02:00
parent e7d7bec608
commit f824f4eb4c
3 changed files with 29 additions and 26 deletions

View File

@@ -6,7 +6,7 @@
int main(int argc, char** argv)
{
OpenGLController scene;
OpenGLController scene = OpenGLController::getInstance();
do {