diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-09-29 09:39:21 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-09-29 09:39:21 +0200 |
| commit | da66e21e1d5826639da2b8d3bd5ccd27920a4aad (patch) | |
| tree | e775f7d34d94970fedebf03da64b1d5e7cfcee38 /FL/gl.h | |
| parent | 283184a09a360724a61b9e256c16f799a73cf405 (diff) | |
Support of FLTK widgets in OpenGL 3 windows - cont'd.
This commit allows to switch between FL_DOUBLE / FL_SINGLE modes
in widget-containing GL3 windows.
Demo program examples/OpenGL3test is modified to show FLTK widgets
even if the platform does not support OpenGL 3.
Diffstat (limited to 'FL/gl.h')
| -rw-r--r-- | FL/gl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ FL_EXPORT void gl_draw(const char*, int x, int y, int w, int h, Fl_Align); FL_EXPORT void gl_measure(const char*, int& x, int& y); FL_EXPORT void gl_texture_pile_height(int max); FL_EXPORT int gl_texture_pile_height(); +FL_EXPORT void gl_texture_reset(); FL_EXPORT void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, int ld=0); |
