diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 11:42:01 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 11:42:01 -0500 |
commit | cefdff9a6a449506ddaeae56a2e038a1a2106846 (patch) | |
tree | e5753b372848e62528ed08b5c2d70d406914a16f /math.c | |
parent | f6fe651ed8bedb0308f75a7b15ef913add799848 (diff) |
converted everything to modern opengl
for some reason SDL_GL_SwapWindow seems to be in a busy loop?
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -720,6 +720,8 @@ static void rect_print(Rect r) { } #if MATH_GL + +#if 0 // must be rendering GL_QUADS to use these functions! static void rect_render(Rect r) { @@ -754,7 +756,7 @@ static void rect_render_border(Rect r, float border_thickness) { glVertex2f(x2+border_radius, y2+border_radius); glVertex2f(x2-border_radius, y2+border_radius); } - +#endif /* gl grayscale color |