mirror of
https://github.com/bjornbytes/lovr.git
synced 2024-07-04 13:33:34 +00:00
Empty textures default to linear instead of sRGB;
This commit is contained in:
parent
2e881cbda0
commit
fbd294f76d
|
@ -1225,7 +1225,7 @@ int l_lovrGraphicsNewTexture(lua_State* L) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hasFlags = lua_istable(L, index);
|
bool hasFlags = lua_istable(L, index);
|
||||||
bool srgb = true;
|
bool srgb = !blank;
|
||||||
bool mipmaps = true;
|
bool mipmaps = true;
|
||||||
TextureFormat format = FORMAT_RGBA;
|
TextureFormat format = FORMAT_RGBA;
|
||||||
int msaa = 0;
|
int msaa = 0;
|
||||||
|
|
Loading…
Reference in a new issue