quick backup of the renderer - things missing
[demo] / src / opengl / opengl.cc
index f05ea61..a7ca8c1 100644 (file)
@@ -2,9 +2,11 @@
 #include <stdio.h>
 
 #include "opengl/opengl.h"
-#include "common-ui.h"
 
 extern GLFWwindow *win;
+extern int win_h;
+extern int win_w;
+
 bool init_opengl()
 {
        if(!glfwInit()) {
@@ -37,4 +39,5 @@ void display_opengl()
 {
        glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
        glClearColor(0.5, 0.5, 0.5, 1.0);
+
 }
\ No newline at end of file