summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Window_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-04-27 09:09:08 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-04-27 09:09:08 +0200
commit3bc90179703b06dbdfaf3553faaab4a26c206ce6 (patch)
treeb91cb003cb3bc3413dd17164a976c49e064a37de /src/Fl_Gl_Window_Driver.H
parent6e70afc81111590413aaab8ed1507465cc77fcb1 (diff)
Slightly simplify gl_texture_fifo::compute_texture()
The font size is set to the value necessary for the GL scene before computing the string width. Virtual Fl_Gl_Window_Driver::effective_size() becomes unnecessary.
Diffstat (limited to 'src/Fl_Gl_Window_Driver.H')
-rw-r--r--src/Fl_Gl_Window_Driver.H1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window_Driver.H b/src/Fl_Gl_Window_Driver.H
index 10cd3f11b..bebde10fc 100644
--- a/src/Fl_Gl_Window_Driver.H
+++ b/src/Fl_Gl_Window_Driver.H
@@ -97,7 +97,6 @@ public:
static void draw_string_with_texture(const char* str, int n); // cross-platform
// support for gl_draw(). The cross-platform version may be enough.
virtual char *alpha_mask_for_string(const char *str, int n, int w, int h, Fl_Fontsize fs);
- virtual Fl_Fontsize effective_size();
virtual int genlistsize() { return 0; } // support for gl_draw()
virtual Fl_Font_Descriptor** fontnum_to_fontdescriptor(int fnum);
virtual Fl_RGB_Image* capture_gl_rectangle(int x, int y, int w, int h);