浏览代码

Merge pull request #7930 from tagcup/missing_fixme_comments

Added missing FIXMEs in PR #7878

[ci skip]
Rémi Verschelde 8 年之前
父节点
当前提交
d7d4bcbf47
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      drivers/gles3/rasterizer_scene_gles3.cpp
  2. 1 1
      modules/visual_script/visual_script_builtin_funcs.cpp

+ 1 - 1
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
 		//no environment, simply convert from linear to srgb
 		storage->shaders.copy.set_conditional(CopyShaderGLES3::LINEAR_TO_SRGB,true);
 		storage->shaders.copy.set_conditional(CopyShaderGLES3::LINEAR_TO_SRGB,true);
 	} else {
 	} else {
-		/* Why are both statements equal? */
+		/* FIXME: Why are both statements equal? */
 		storage->shaders.copy.set_conditional(CopyShaderGLES3::LINEAR_TO_SRGB,true);
 		storage->shaders.copy.set_conditional(CopyShaderGLES3::LINEAR_TO_SRGB,true);
 
 
 	}
 	}

+ 1 - 1
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: {
 		case LOGIC_CLAMP: {
 			if (p_idx==0)
 			if (p_idx==0)
 				return PropertyInfo(Variant::REAL,"a");
 				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");
 				return PropertyInfo(Variant::REAL,"min");
 			else
 			else
 				return PropertyInfo(Variant::REAL,"max");
 				return PropertyInfo(Variant::REAL,"max");