]> git.sesse.net Git - movit/blobdiff - widgets.cpp
Fix a bug where intermediate phase outputs could get too low height.
[movit] / widgets.cpp
index 09d878ed4fa065ce1fb112b9d405d16335c34d3d..5742e457a8117f9690de9c9aeec852e62a3a4f67 100644 (file)
@@ -1,8 +1,5 @@
-#define GL_GLEXT_PROTOTYPES 1
-
 #include <math.h>
-#include <GL/gl.h>
-#include <GL/glext.h>
+#include <GL/glew.h>
 
 #include "widgets.h"
 #include "util.h"
@@ -133,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);