Merge pull request #7930 from tagcup/missing_fixme_comments

Added missing FIXMEs in PR #7878

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-03-02 23:32:48 +01:00 committed by GitHub
commit d7d4bcbf47
2 changed files with 2 additions and 2 deletions

View File

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

View File

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