From cecdba5cd996cea3ebd2534aea7a3e3a41205b9c Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 21 Feb 2015 19:21:17 -0500 Subject: Changed to using stb_image for image loading, also alpha blending works! --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index ec485e7..62c8b16 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,6 +4,7 @@ #include "state.h" #include "mapview.h" #include "renderer.h" +#include using namespace::std; @@ -26,6 +27,8 @@ void key_callback(GLFWwindow* window, int key, int scancode, int action, int mod int main() { + srand(time(NULL)); + GLFWwindow* window = initRenderer(); glfwSwapInterval(1); glfwSetKeyCallback(window, key_callback); -- cgit 1.4.1