Adjust the amplitude of GL underwater effect #173

Merged
chromaticpipe merged 1 commits from wateramplitude into Saturn-Next 2025-05-24 17:12:38 +02:00
2 changed files with 2 additions and 2 deletions

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