Adjust the amplitude of GL underwater effect

Also fixed a string truncation warning
This commit is contained in:
chromaticpipe committed 2025-05-24 09:02:49 -05:00
1 parent 7e5ae71714
commit 33c03f1e7a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6020,7 +6020,7 @@ static void HWR_DoPostProcessor(player_t *player)
if (thiscam->postimg & POSTIMG_WATER)
{
WAVELENGTH = 5;
AMPLITUDE = 20;
AMPLITUDE = 40;
FREQUENCY = 8;
}
else
+1 -1
View File
@@ -212,7 +212,7 @@ boolean OglSdlSurface(INT32 w, INT32 h)
#ifdef USE_FBO_OGL
char videodriver[4] = {'S','D','L',0};
if (supportFBO && strstr((const char*)gl_renderer, "NVIDIA")
&& (*strncpy(videodriver, SDL_GetCurrentVideoDriver(), 4) != '\0')
&& (*strncpy(videodriver, SDL_GetCurrentVideoDriver(), sizeof(videodriver)-1) != '\0')
&& (strncasecmp("x11",videodriver,4) == 0))
xwaylandcrap = true;
#endif