diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2022-01-02 18:53:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 18:53:15 +0100 |
commit | 223beef14a6c6a3c904a3810c2fba353994937c2 (patch) | |
tree | 56b239cf493a3900db654c789b959e9a07380610 /drivers | |
parent | 937fb63a234c7de3fe3ed7fb1267e5e2c4c38c4f (diff) | |
parent | a124f1effed40f5fa232b814469bf1ce57043897 (diff) |
Merge pull request #56315 from luzpaz/typos
Fix various typos
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/rasterizer_canvas_batcher.h | 2 | ||||
-rw-r--r-- | drivers/gles3/shaders/scene.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gles3/rasterizer_canvas_batcher.h b/drivers/gles3/rasterizer_canvas_batcher.h index c7345824ab..530965dd9d 100644 --- a/drivers/gles3/rasterizer_canvas_batcher.h +++ b/drivers/gles3/rasterizer_canvas_batcher.h @@ -465,7 +465,7 @@ public: TransformMode orig_transform_mode; // support for extra matrices - bool extra_matrix_sent; // whether sent on this item (in which case sofware transform can't be used untl end of item) + bool extra_matrix_sent; // whether sent on this item (in which case software transform can't be used untl end of item) int transform_extra_command_number_p1; // plus one to allow fast checking against zero Transform2D transform_combined; // final * extra }; diff --git a/drivers/gles3/shaders/scene.glsl b/drivers/gles3/shaders/scene.glsl index de2aa0fc48..c2f3908395 100644 --- a/drivers/gles3/shaders/scene.glsl +++ b/drivers/gles3/shaders/scene.glsl @@ -1610,7 +1610,7 @@ FRAGMENT_SHADER_CODE specular_light *= specular * metallic * albedo * 2.0; #else - // scales the specular reflections, needs to be be computed before lighting happens, + // scales the specular reflections, needs to be computed before lighting happens, // but after environment and reflection probes are added //TODO: this curve is not really designed for gammaspace, should be adjusted const vec4 c0 = vec4(-1.0, -0.0275, -0.572, 0.022); |