summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-03-02 23:32:48 +0100
committerGitHub <noreply@github.com>2017-03-02 23:32:48 +0100
commitd7d4bcbf4728fe2a34b59b06054fa903f9920017 (patch)
treebb6416538ca4742231c283190efde075e25d74e0
parent74eace2b14b337e23d0dc552f3bc3e60f1710f65 (diff)
parent790611ef26c450e52da3a4ebe8c767baab419f8e (diff)
downloadredot-engine-d7d4bcbf4728fe2a34b59b06054fa903f9920017.tar.gz
Merge pull request #7930 from tagcup/missing_fixme_comments
Added missing FIXMEs in PR #7878 [ci skip]
-rw-r--r--drivers/gles3/rasterizer_scene_gles3.cpp2
-rw-r--r--modules/visual_script/visual_script_builtin_funcs.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gles3/rasterizer_scene_gles3.cpp b/drivers/gles3/rasterizer_scene_gles3.cpp
index 73adeaf723..03a5834ca7 100644
--- a/drivers/gles3/rasterizer_scene_gles3.cpp
+++ b/drivers/gles3/rasterizer_scene_gles3.cpp
@@ -2806,7 +2806,7 @@ void RasterizerSceneGLES3::_copy_to_front_buffer(Environment *env) {
//no environment, simply convert from linear to srgb
storage->shaders.copy.set_conditional(CopyShaderGLES3::LINEAR_TO_SRGB,true);
} else {
- /* Why are both statements equal? */
+ /* FIXME: Why are both statements equal? */
storage->shaders.copy.set_conditional(CopyShaderGLES3::LINEAR_TO_SRGB,true);
}
diff --git a/modules/visual_script/visual_script_builtin_funcs.cpp b/modules/visual_script/visual_script_builtin_funcs.cpp
index 1acd5bff8d..f9780400d8 100644
--- a/modules/visual_script/visual_script_builtin_funcs.cpp
+++ b/modules/visual_script/visual_script_builtin_funcs.cpp
@@ -329,7 +329,7 @@ PropertyInfo VisualScriptBuiltinFunc::get_input_value_port_info(int p_idx) const
case LOGIC_CLAMP: {
if (p_idx==0)
return PropertyInfo(Variant::REAL,"a");
- else if (p_idx==0) // is it ok to test p_idx == 0 twice?
+ else if (p_idx==0) // FIXME: is it ok to test p_idx == 0 twice?
return PropertyInfo(Variant::REAL,"min");
else
return PropertyInfo(Variant::REAL,"max");