mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
oops, we shouldn't always downsample the textures :D
This commit is contained in:
parent
dc612d4fe4
commit
b1f65c46ed
|
@ -324,7 +324,7 @@ int gfx_load_texture_raw(int w, int h, int format, const void *data)
|
||||||
// resample if needed
|
// resample if needed
|
||||||
unsigned char *texdata = (unsigned char *)data;
|
unsigned char *texdata = (unsigned char *)data;
|
||||||
unsigned char *tmpdata = 0;
|
unsigned char *tmpdata = 0;
|
||||||
if(1 || config.gfx_texture_quality==0)
|
if(config.gfx_texture_quality==0)
|
||||||
{
|
{
|
||||||
if(w > 16 && h > 16 && format == IMG_RGBA)
|
if(w > 16 && h > 16 && format == IMG_RGBA)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue