From 907933803792aaa3e400177ce07b617a027ed96e Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Thu, 6 Mar 2014 21:23:50 +0100 Subject: [PATCH] Removed leftover main.cpp --- Escape-the-Dawn/main.cpp | 62 ---------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 Escape-the-Dawn/main.cpp diff --git a/Escape-the-Dawn/main.cpp b/Escape-the-Dawn/main.cpp deleted file mode 100644 index bc7063c..0000000 --- a/Escape-the-Dawn/main.cpp +++ /dev/null @@ -1,62 +0,0 @@ -//#include -//#include -// -//#include -//#define GLFW_INCLUDE_GLU -//#include -//#include -// -//#include "logging.h" -//#include "glerror.h" -// -//#include "World.h" -// -//GLFWwindow* window; -//GLint glVersion[2]; -//GLchar* glVendor; -// -//int main(int argc, char* argv[]) -//{ -// // Initialize GLFW -// if (!glfwInit()) -// { -// LOG_ERROR("GLFW: Initialization failed"); -// return 1; -// } -// -// // Create a window -// window = glfwCreateWindow(1280, 720, "OpenGL", nullptr, nullptr); -// if (!window) -// { -// LOG_ERROR("GLFW: Failed to create window"); -// return 1; -// } -// glfwMakeContextCurrent(window); -// -// // GL version info -// glGetIntegerv(GL_MAJOR_VERSION, &glVersion[0]); -// glGetIntegerv(GL_MINOR_VERSION, &glVersion[1]); -// glVendor = (GLchar*)glGetString(GL_VENDOR); -// std::stringstream ss; -// ss << glVendor << " OpenGL " << glVersion[0] << "." << glVersion[1]; -//#ifdef DEBUG -// ss << " DEBUG"; -//#endif -// LOG_INFO(ss.str().c_str()); -// glfwSetWindowTitle(window, ss.str().c_str()); -// -// // Initialize GLEW -// if (glewInit() != GLEW_OK) -// { -// LOG_ERROR("GLEW: Initialization failed"); -// return 1; -// } -// -// // Main loop -// while (!glfwWindowShouldClose(window)) -// { -// glfwPollEvents(); -// } -// -// return 0; -//} \ No newline at end of file