Empty textures default to linear instead of sRGB;

This commit is contained in:
bjorn 2018-09-02 21:15:59 -07:00
parent 2e881cbda0
commit fbd294f76d
1 changed files with 1 additions and 1 deletions

View File

@ -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;