The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: ceeac on October 31, 2018, 08:28:37 AM

Title: Compilation error when compiling simsys_opengl.cc
Post by: ceeac on October 31, 2018, 08:28:37 AM
Hello,
in simsys_opengl.cc line 346 there's this:
Code: [Select]


S/*
 * Hier sind die Basisfunktionen zur Initialisierung der
 * Schnittstelle untergebracht
 * -> init,open,close
 */

which is a compilation error (the S should be removed). Apparently, nobody has tried compiling the OpenGL backend in more than 2 years...
Title: Re: Compilation error when compiling simsys_opengl.cc
Post by: Ters on October 31, 2018, 05:45:29 PM
It is rather stupid anyway. The SDL2 backend seems to have fixed whatever problems it somehow managed to work around and should be preferable to this bastard of a backend. (I can call it that, because I made the core of it once.)
Title: Re: Compilation error when compiling simsys_opengl.cc
Post by: DrSuperGood on October 31, 2018, 06:31:21 PM
Just to make it clear, the OpenGL back end does not use hardware acceleration to speed up the game drawing the screen. It only uses OpenGL as a presentation layer to display the software drawn screen. Hence SDL2 is preferable as it does the same task and more.
Title: Re: Compilation error when compiling simsys_opengl.cc
Post by: Dwachs on February 02, 2019, 05:12:48 PM
deleted this stuff in r8660