Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
66 user(s) are online (61 user(s) are browsing Forums)

Members: 1
Guests: 65

ferrels, more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Re: SDL2

Subject: Re: SDL2
by kas1e on 2018/10/28 12:17:10

@Capehill
Btw, while trying from where that distortion come in SDL2 version, found that your q3/sdl2 code have some minigl hardcore ifdef:

code/sdl/sdl_glimp.c :

#ifdef __amigaos4__ // MiniGL issue
    
if ( SDL_GL_ExtensionSupported"GL_EXT_compiled_vertex_arrays" ) )
#else
    // GL_EXT_compiled_vertex_array
    
if ( SDL_GL_ExtensionSupported"GL_EXT_compiled_vertex_array" ) )
#endif


Because of that i at first runs have lots lower FPS than in sdl1 version, but once i comment that workaround for minigl, all start to be fine by fps. Probably there need to replace ifdef not on __amigaos4__ , but on something like "if defined amigaos4 and defined minigl".

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project