diff --git a/graphics.cc b/graphics.cc index 49a3dee..d0ff87b 100644 --- a/graphics.cc +++ b/graphics.cc @@ -3,8 +3,6 @@ #include #include -using namespace std; - Graphics::Graphics() { } @@ -44,7 +42,7 @@ bool Graphics::createWindow() // if ( !glfwInit() ) { - ACGL::Utils::error() << "Failed to initialize GLFW" << endl; + ACGL::Utils::error() << "Failed to initialize GLFW" << std::endl; exit( -1 ); } @@ -70,7 +68,7 @@ bool Graphics::createWindow() // R,G,B,A, Depth,Stencil window = glfwCreateWindow(windowSize.x, windowSize.y, "SWP MarbleGame Group C", NULL, NULL); if (!getWindow()) { - ACGL::Utils::error() << "Failed to open a GLFW window - requested OpenGL: " << ACGL_OPENGL_VERSION << endl; + ACGL::Utils::error() << "Failed to open a GLFW window - requested OpenGL: " << ACGL_OPENGL_VERSION << std::endl; return false; } glfwMakeContextCurrent(window);