godot/drivers/gles3
Crazy-P e6deba8d19 Fixes logically dead code (Coverity)
Fixes reported logically dead codes by Coverity

* image.cpp: Doesn't really need any modification. But to remove the bug
report then we have to move the MAX call away from the for loop
statement.

* rasterizer_gles3.cpp: Removes unnecessary elif condition since it is
checked earlier in the function

* collada.cpp: If stamement never reached due to macro ERR_CONTINUE does
the same.

* navigation_mesh.cpp: Variables should always be null - however, also
checked for the very same condition in their function call. Leaving this
for review (whether the function call is necessary or not)

* path_editor_plugin.cpp: If cancel is true, then it should restore the
edited value to the original provided.
http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle

* spatial_editor_gizmos.cpp: the very condition of i >= 3 is
predetermined in the if case right before it. Thus case 1 is always '1'
and case 2 is always '-1'

* grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp

* voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_server.cpp: Same as above in spatial_editor_gizmos.cpp

* visual_script_expression.cpp: char '-' is already true in the switch
case mechanism. Thus it can never reach to default case.

* particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking
right before the switch execution.

* shader_language.cpp: Invalid index is handled in switch default case.
`type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`)
Fixes the "always false problem" in TODO comment.
2018-04-21 22:35:23 +08:00
..
shaders Fixes canvas light shaders. 2018-04-13 15:18:28 +02:00
SCsub BuildSystem: generated files have .gen.extension 2017-06-25 07:55:01 +07:00
rasterizer_canvas_gles3.cpp Use GL_LINE_STRIP instead of GL_LINES when drawing polylines. 2018-02-28 23:00:13 -05:00
rasterizer_canvas_gles3.h 2D Skeletons WORK IN PROGRESS 2018-02-21 17:24:00 -03:00
rasterizer_gles3.cpp Fixes logically dead code (Coverity) 2018-04-21 22:35:23 +08:00
rasterizer_gles3.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rasterizer_scene_gles3.cpp multiply blend mode fix for spatial materials 2018-03-26 14:23:43 +01:00
rasterizer_scene_gles3.h Fixed several leaks in VisualServerScene, RasterizerSceneGLES3 and RasterizerGLES3 2018-03-13 00:22:08 -04:00
rasterizer_storage_gles3.cpp Merge pull request #16503 from Chaosus/particlesfix 2018-04-08 18:15:32 -03:00
rasterizer_storage_gles3.h Ensure depth reads go via alpha render list, fixes #14759 2018-01-06 17:38:39 -03:00
shader_compiler_gles3.cpp Fixes canvas light shaders. 2018-04-13 15:18:28 +02:00
shader_compiler_gles3.h using TIME in light shader enables uses_fragment_time 2018-02-07 11:56:52 +01:00
shader_gles3.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shader_gles3.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00