The International Simutrans Forum

 

Author Topic: [patch] Compile error when building OpenGL backend  (Read 189 times)

0 Members and 1 Guest are viewing this topic.

Offline ceeac

  • *
  • Posts: 11
[patch] Compile error when building OpenGL backend
« on: December 06, 2018, 08:32:57 AM »
This patch fixes a compile error in the OpenGL backend. Apparently no-one has tried compiling it in more than 2 years... ;)

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9309
  • Languages: De,EN,JP
Re: [patch] Compile error when building OpenGL backend
« Reply #1 on: December 06, 2018, 01:39:13 PM »
The was only needed for mac before SDL2 support. With SDL2 it has not been used, I think.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5368
  • Languages: EN, NO
Re: [patch] Compile error when building OpenGL backend
« Reply #2 on: December 06, 2018, 06:26:51 PM »
Maybe simsys_opengl.cc should just be deleted. It is silly, and apparently useless.

Offline ceeac

  • *
  • Posts: 11
Re: [patch] Compile error when building OpenGL backend
« Reply #3 on: December 07, 2018, 04:07:53 PM »
Maybe simsys_opengl.cc should just be deleted. It is silly, and apparently useless.
I agree. I attached a patch that removes the OpenGL backend.