From a2cffedf2a4f7f223a0116978e7c302d0f3e99b0 Mon Sep 17 00:00:00 2001
From: Florent Berthaut <florent@hitmuri.net>
Date: Sat, 3 Feb 2018 23:58:34 +0100
Subject: [PATCH] Fixed linux cursor display

---
 src/Controlar.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Controlar.cpp b/src/Controlar.cpp
index c3aae16..17edfd7 100755
--- a/src/Controlar.cpp
+++ b/src/Controlar.cpp
@@ -1208,7 +1208,7 @@ void Controlar::draw() {
         glDrawArrays(GL_TRIANGLES, 0, 6);
     }
 
-#ifndef LINUX
+//#ifndef LINUX
     //draw cursor
     glUseProgram(m_cursorProgram);
     glUniform1f(m_cursorMirrorUniform, m_flipped);
@@ -1216,7 +1216,7 @@ void Controlar::draw() {
     glUniform2f(m_cursorPosUniform, Fl::event_x_root()-x(), 
                                     Fl::event_y_root()-y());
     glDrawArrays(GL_TRIANGLES, 3, 3);
-#endif
+//#endif
 
     glDisableVertexAttribArray(0);
 
-- 
GitLab