| 86 | |
| 87 | template<typename T> |
| 88 | void Line<T>::draw(const GraphicsContext&, const T width) |
| 89 | { |
| 90 | DISTRHO_SAFE_ASSERT_RETURN(width != 0,); |
| 91 | |
| 92 | glLineWidth(static_cast<GLfloat>(width)); |
| 93 | drawLine<T>(posStart, posEnd); |
| 94 | } |
| 95 | |
| 96 | #ifdef DGL_ALLOW_DEPRECATED_METHODS |
| 97 | template<typename T> |
no test coverage detected