diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 10:12:55 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 10:12:55 -0500 |
commit | dd3887ec47137b6bf993674356a73b3266bb8a51 (patch) | |
tree | c9981783a6574b58dd9f503384b2fe651495b224 /menu.c | |
parent | 1e7e392b9d5e593aeb9680d82b76afddad8ce2e6 (diff) |
got text working with modern OpenGL
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -209,11 +209,10 @@ static void menu_render(Ted *ted, Menu menu) { menu_y2 -= padding; - gl_color_rgba(colors[COLOR_TEXT]); if (menu == MENU_OPEN) { - text_render(font_bold, "Open...", menu_x1, menu_y1); + text_render(font_bold, "Open...", menu_x1, menu_y1, colors[COLOR_TEXT]); } else if (menu == MENU_SAVE_AS) { - text_render(font_bold, "Save as...", menu_x1, menu_y1); + text_render(font_bold, "Save as...", menu_x1, menu_y1, colors[COLOR_TEXT]); } menu_y1 += char_height_bold * 0.75f + padding; |