Fix comment typos

This commit is contained in:
Nikita Lisitsa 2020-12-13 19:02:20 +03:00
parent c06c1b5155
commit ac3ab3b0c6

View file

@ -1049,10 +1049,10 @@ void main()
assert(o.mesh);
if (o.mat->lit && o.mat->transparent)
throw std::runtime_error("Materials that are both tit & transparent are not supported");
throw std::runtime_error("Materials that are both lit & transparent are not supported");
if (o.mat->lit && o.mat->blooming)
throw std::runtime_error("Materials that are both tit & blooming are not supported");
throw std::runtime_error("Materials that are both lit & blooming are not supported");
if (o.mat->casts_shadow && o.mat->transparent)
throw std::runtime_error("Transparent objects cannot cast shadow");