mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 15:47:55 +00:00
ref: gl: fix ripple water is being blurry with gl_texture_nearest after startup
This commit is contained in:
parent
2af0adb629
commit
a8cc68f6b9
@ -883,6 +883,10 @@ void R_InitRipples( void )
|
||||
memset( pic.buffer, 0, pic.size );
|
||||
|
||||
g_ripple.rippletexturenum = GL_LoadTextureInternal( "*rippletex", &pic, TF_NOMIPMAP );
|
||||
|
||||
// need to set proper tex params for TF_NOMIPMAP texture,
|
||||
// as during upload it fails TF_NEAREST check and gets blurry even with gl_texture_nearest 1
|
||||
R_UpdateRippleTexParams();
|
||||
}
|
||||
|
||||
static void R_SwapBufs( void )
|
||||
|
Loading…
Reference in New Issue
Block a user