X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=widgets.cpp;h=85fa04899697d35602c1a8c25f2b348b512f294a;hp=09d878ed4fa065ce1fb112b9d405d16335c34d3d;hb=2a6eec294c44a1de3693f227f26218b7c88ff0aa;hpb=a04ce272078182de6bb49e5ea9834713f3d72cae diff --git a/widgets.cpp b/widgets.cpp index 09d878e..85fa048 100644 --- a/widgets.cpp +++ b/widgets.cpp @@ -1,11 +1,8 @@ -#define GL_GLEXT_PROTOTYPES 1 - #include -#include -#include #include "widgets.h" #include "util.h" +#include "opengl.h" #define HSV_WHEEL_SIZE 128 @@ -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);