Closed GWRon closed 6 years ago
I'm surprised anything works at all if you import GLMax2D...
For a start, you are mixing together two event systems - which is never going to end well...
I know that this should not be done ... but it is possible, and therefor it should either blame it (throw something to the coder) or come along with what the human being wants to "do" (without knowing the details).
Why am I requesting a "throw to the user"?
On Windows you Import the DX modules and the OGL one ... so the enduser might choose from possible render engines. I assumed that throwing in GL2SDL is similar and never thought it does not "automatically handle" things like replacing the brl-eventsystem (systemdefault) with the SDL one - if the sdl driver is used.
Should be fixed in the latest version.
The following code does not hide the mouse cursor - until you comment out
Import brl.GLMax2D
Switching order of both import statements makes HideCursor work too