mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-27 23:34:29 +00:00
ref: gl: always scale down texture to 64x64, like sw.dll does
This commit is contained in:
parent
a41902bd46
commit
882fcc152c
@ -1012,7 +1012,9 @@ void R_UploadRipples( texture_t *image )
|
||||
return;
|
||||
|
||||
g_ripple.gl_texturenum = image->gl_texturenum;
|
||||
g_ripple.texturescale = RIPPLES_CACHEWIDTH / image->width;
|
||||
|
||||
// TODO: original sw.dll always draws at 64x64
|
||||
g_ripple.texturescale = Q_max( 2, RIPPLES_CACHEWIDTH / image->width );
|
||||
|
||||
pixels = (uint32_t *)glt->original->buffer;
|
||||
v = MostSignificantBit( image->width );
|
||||
|
Loading…
x
Reference in New Issue
Block a user