1. MUSICVOLUME seen does nothing (but volume on PLAYSOUND does work) and allways plays music in full volume.
2. Vsync reappear again with v12, even im trying to set it to sdl by using this code:
INLINE
} // end namespace __GLBASIC__ - see manual for INLINE
extern "C"
{
void __stdcall SDL_GL_SetAttribute(int, int);
}
// reasuring the namespace
namespace __GLBASIC__
{
ENDINLINE
FUNCTION enablevSync:
?IFDEF MACOSX
INLINE
SDL_GL_SetAttribute(16, 1);
ENDINLINE
?ENDIF
?IFDEF OSXUNI
INLINE
SDL_GL_SetAttribute(16, 1);
ENDINLINE
?ENDIF
The code did Work for v10 as im remember, but for some reason, not with v12. Its look ugly with Karma Miwa when vsync is disabled.
Did you try to set VSync with LIMITFPS?
What platform are you using MUSICVOLUME with - it works fine on Windows
I guess he uses MacOS as its stated in the headline.
Good point :)
Yep, is stated in the headline, MacOSX version, not Windows.
LimitFPS FrameRate,VSyncs works on Windows, but VSync does nothing on Mac.
MusicVolume did also nothing on Mac too, while its works on other platforms.
Im do heard the sld fix Gernot gave in v10 is due sld used v1, but im guess its now uses a newer version of that? (hence its might require something other instead?). That why im ask about it.
The game look awful on mac when vsync is missing.