mirror of https://github.com/bjornbytes/lovr.git
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 srgb = true;
|
||||
bool srgb = !blank;
|
||||
bool mipmaps = true;
|
||||
TextureFormat format = FORMAT_RGBA;
|
||||
int msaa = 0;
|
||||
|
|
Loading…
Reference in New Issue