Priest of the Order of the Butterfly
Posts: 644 from 2010/2/10
From: FRANCE
hi, thanks i love this game !
i see something in your diff file:
Code:
+#ifdef __MORPHOS__
+// something MorphOS SDL2 port needs while linking I do not
+// have any idea why it requires such thing. Return zero seems
+// to work
+unsigned int TGLGetMaximumContextVersion(void *tgl)
+{
+ return 0;
+}
+#endif
This function is a new part of tinygl SDK
You need to install last SDK of TinyGL (https://www.morphos-storage.net/?id=2227357), SDL2 need it.
When you link your program: put "-lSDL2 -lGL"
Last version of tinygl support FrameBuffer Objects, and SDL2 use it when called SDL_CreateTexture with SDL_TEXTUREACCESS_TARGET flag. I have this problem when I did this port
PowerMac G5 Quad 2.5, IMac G5 2.1, PowerBook G4 1.5, MacMini 1.5
My MOS ports