summaryrefslogtreecommitdiff
path: root/src/drivers/OpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/OpenGL')
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx
index a5f9a3f96..c5698bb4d 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_line_style.cxx
@@ -33,18 +33,11 @@
#include <FL/Fl.H>
#include <FL/fl_draw.H>
-extern int fl_line_width_;
-
// OpenGL implementation does not support custom patterns
// OpenGL implementation does not support cap and join types
void Fl_OpenGL_Graphics_Driver::line_style(int style, int width, char* dashes) {
- // save line width in global variable for X11 clipping
- // FIXME: what does this code do?
- if (width == 0) fl_line_width_ = 1;
- else fl_line_width_ = width>0 ? width : -width;
-
if (width<1) width = 1;
if (style==FL_SOLID) {