]> git.sesse.net Git - movit/blobdiff - widgets.cpp
Fix a bug where intermediate phase outputs could get too low height.
[movit] / widgets.cpp
index fb49993b23349743e049c7fa4bcebb2c3acefded..5742e457a8117f9690de9c9aeec852e62a3a4f67 100644 (file)
@@ -1,8 +1,8 @@
 #include <math.h>
+#include <GL/glew.h>
 
 #include "widgets.h"
 #include "util.h"
-#include "opengl.h"
 
 #define HSV_WHEEL_SIZE 128
 
@@ -130,7 +130,6 @@ void make_hsv_wheel_texture()
                                hsv_pix[(y * HSV_WHEEL_SIZE + x) * 4 + 3] = 255;
                        }
                }
-               printf("\n");
        }
 
        glBindTexture(GL_TEXTURE_2D, hsv_wheel_num);