From ac3ab3b0c6235d4018a733e5d6451bb8287e4423 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Sun, 13 Dec 2020 19:02:20 +0300 Subject: [PATCH] Fix comment typos --- libs/gfx/source/renderer/deferred.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gfx/source/renderer/deferred.cpp b/libs/gfx/source/renderer/deferred.cpp index b78c73dd..3036a563 100644 --- a/libs/gfx/source/renderer/deferred.cpp +++ b/libs/gfx/source/renderer/deferred.cpp @@ -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");