Build 6788
SVN-
Generale
texcache.cpp: Override PTH_INDEXED and fall back to pre-processing tiles if high colour tint effects are being used on indexed colour art
Nickname SVN e nomi Git sono unificati per persona.
texcache.cpp: Override PTH_INDEXED and fall back to pre-processing tiles if high colour tint effects are being used on indexed colour art
menus.cpp: disable palette emulation menu options when in Polymost and r_useindexedcolortextures is 1
menus.cpp: Allow setting anisotropy when not in Polymost regardless of whether r_useindexedcolortextures is set
Fix console background disappearing intermittently
polymost.cpp: fix shadeFactor not being set properly for non-indexed colour textures
center texel fetches for palette lookups and add various optimizations related to indexed texture changes
Polymost palette-indexed texture rendering
astub.cpp: only call GL functions if we are in a GL mode
polymost.cpp: fix polymost_dorotatesprite() issue where sprites could be rendered with fractional positions and sizes leading to GL filtering imperfections.
menus.cpp: Make windowed-only resolutions clear in both their name and by disabling the fullscreen menu option
Additionally, increase MAXRESOLUTIONSTRINGLENGTH to accomodate new resolution name suffix
sdlayer.h/winlayer.cpp: If a resolution is supported for fullscreen, also support the mode as a windowed resolution.
baselayer.cpp: add 1280x720 resolution to defaultres windowed resolutions
sdlayer.cpp: fix vsync heartbeat issue on some NVidia & Intel drivers
sdlayer.cpp: remove unnecessary call to SDL_WarpMouseInWindow() on SDL2 that was causing issues with mouse movement when vsync was enabled on some hardware
game.cpp: fixed GL vsync resetting issue due to system_getcvars() call coming before cvars were loaded
workaround for texcache expecting all mipmap levels to be available
Fix building on Visual Studio after GLAD & Polymost changes
fix typo causing bug where persistentStreamBuffer was being reset to the config value when it should be disabled
fix bug where polymost2_drawVBO() wouldn't reset the bound buffer state properly for polymost1
adjust parenthesis to cease compiler warnings
streaming VBO optimizations for polymost_drawpoly()
update to include "GL_ARB_sync" extension
screens.cpp: Fixed a bug in FPS calculation
Fix line spacing tab issue in rev 6570.
Fix a number of cases where files opened with cache1d.cpp's kopen_internal() could be leaked.
Fixed file handle leak when loading a save game
Fixed race condition where XMP voices could be played by the audio driver thread before they were fully initialized or fully freed