Just noticed updated in his repo. After compiling with adding Files.cpp changes for AmigaOS4.
LIBGL: Initialising gl4es
LIBGL: v1.1.5 built on Sep 6 2022 18:31:35
LIBGL: Using GLES 2.0 backend
LIBGL: Using Warp3DNova.library v54 revision 16
LIBGL: Using OGLES2.library v3 revision 3
LIBGL: OGLES2 Library and Interface open successfuly
LIBGL: Targeting OpenGL 2.1
LIBGL: Not trying to batch small subsequent glDrawXXXX
LIBGL: try to use VBO
LIBGL: Force texture for Attachment color0 on FBO
LIBGL: Hack to trigger a SwapBuffers when a Full Framebuffer Blit on default FBO is done
LIBGL: Current folder is:Sam460-2:CroMagRally
LIBGL: Hardware test on current Context...
LIBGL: Hardware Full NPOT detected and used
LIBGL: Extension GL_EXT_blend_minmax detected and used
LIBGL: FBO are in core, and so used
LIBGL: PointSprite are in core, and so used
LIBGL: CubeMap are in core, and so used
LIBGL: BlendColor is in core, and so used
LIBGL: Blend Subtract is in core, and so used
LIBGL: Blend Function and Equation Separation is in core, and so used
LIBGL: Texture Mirrored Repeat is in core, and so used
LIBGL: Extension GL_OES_mapbuffer detected
LIBGL: Extension GL_OES_element_index_uint detected and used
LIBGL: Extension GL_OES_packed_depth_stencil detected and used
LIBGL: Extension GL_EXT_texture_format_BGRA8888 detected and used
LIBGL: Extension GL_OES_texture_float detected and used
LIBGL: Extension GL_AOS4_texture_format_RGB332 detected
LIBGL: Extension GL_AOS4_texture_format_RGB332REV detected
LIBGL: Extension GL_AOS4_texture_format_RGBA1555REV detected and used
LIBGL: Extension GL_AOS4_texture_format_RGBA8888 detected and used
LIBGL: Extension GL_AOS4_texture_format_RGBA8888REV detected and used
LIBGL: high precision float in fragment shader available and used
LIBGL: Extension GL_EXT_frag_depth detected and used
LIBGL: Max vertex attrib: 16
LIBGL: Max texture size: 16384
LIBGL: Max Varying Vector: 32
LIBGL: Texture Units: 16/16 (hardware: 32), Max lights: 8, Max planes: 6
LIBGL: Extension GL_EXT_texture_filter_anisotropic detected and used
LIBGL: Max Anisotropic filtering: 16
LIBGL: Max Color Attachments: 1 / Draw buffers: 1
LIBGL: Hardware vendor is A-EON Technology Ltd. Written by Daniel 'Daytona675x' Müßener @ GoldenCode.eu
LIBGL: GLSL 300 es supported
LIBGL: GLSL 310 es supported and used
CMR Fatal Alert: OGL_CreateDrawContext:357: glGetError() == GL_NO_ERROR
CMR Fatal Alert: SafeSafeDisposePtr: invalid cookie!
LIBGL: Shuting down
Will pack it up and upload on os4depot in few minuts.
@SinanSam460
That error happens because GL4ES on the run do check GLSL shaders to see which version of what works. So it return GL_ERROR if one of them fail or more, etc. One of them fail (that expected), and this set GL_ERROR which is not cleared. I report that to ptitSeb and he fix it in latest gl4es build, so rebuild new gl4es and add this "PROGIDIR:" fix and this will work for you.
@Samo gl4es only currently, as for minigl it just didn't works and render pink screen.
@Sinan Probabaly you didn't download very latest code, as big-endian fixes were done in 2 commits : first big one, and second one was exactly about textures.
@beworld Btw, i show the video to author, and he say that we miss "bonuses/powerup" in the levels, and only their shadows visibly. Check plz if it the same on morphos or not (just to know if it endian issues, or driver specific ones)
@all Tried to build minigl version again, and sadly it fail: i.e. i have binary, but on running all i have it's black or pink screen, and nothing else, so probably opengl2.x there minimum.
CrogMag was released in 2000 for OS9, i doubt that at the time it requires such opengl2 specs, unless he increased its specs for the latest version 3 of the game, but if so there is no mention in readme/changelog Can you ask the author?
@samo That adoptation to modern systems, not straight port from os9 (mean lot of new code).
Anyway, i am not in big interest in minigl anymore to spend time on, just tried fastly in case it will work, and wasnt lucky. Also do not want to annoy author about anything else, as i already annoy him about other games. But anyone can give it a shot, as endians are ok. I think it should be possible to make it works on minigl, just need someone willing spend time on.
remember. If you found something weird check also linking against newlib. Even if clib2 seems at least mature to compile games correctly. But I'm curious about speed too