-/* static test_* functions are going to be removed: just to test the shaders */
-static void test_draw();
-static void test_torus();
+static void clear(float r, float g, float b);
+static void viewport(int x, int y, int width, int height);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 5);
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 5);
if(!(win = glfwCreateWindow(win_w, win_h, "glcow", 0, 0))) {
fprintf(stderr, "Failed to create window.\n");
if(!(win = glfwCreateWindow(win_w, win_h, "glcow", 0, 0))) {
fprintf(stderr, "Failed to create window.\n");