godot/drivers/gles2
Rémi Verschelde cdc411fd54 Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more
Fixes the following GCC 5 warnings:
```
core/os/file_access.cpp:49:19: warning: the address of 'FileAccess::create_func' will always evaluate as 'true' [-Waddress]
servers/audio_server.cpp:192:70: warning: comparison with string literal results in unspecified behaviour [-Waddress]

drivers/gles2/rasterizer_storage_gles2.cpp:4095:90: warning: NULL used in arithmetic [-Wpointer-arith]

modules/gdnative/register_types.cpp:237:3: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
platform/android/export/export.cpp:207:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

modules/gdscript/gdscript.h:150:67: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:119:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:123:56: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:127:50: warning: returning reference to temporary [-Wreturn-local-addr]
servers/physics_2d/collision_object_2d_sw.h:131:52: warning: returning reference to temporary [-Wreturn-local-addr]

editor/plugins/skeleton_editor_plugin.cpp:34:36: warning: extra tokens at end of #include directive
modules/bullet/bullet_types_converter.cpp:31:9: warning: #pragma once in main file

editor/import/editor_scene_importer_gltf.cpp:1996:51: warning: name lookup of 'i' changed
modules/visual_script/visual_script_property_selector.cpp:402:45: warning: name lookup of 'E' changed
scene/gui/tree.cpp:1268:25: warning: name lookup of 'i' changed
scene/resources/visual_shader.cpp:808:32: warning: name lookup of 'i' changed
```
2018-09-27 16:33:52 +02:00
..
shaders Fix build after 65fd37c1, using Math_PI 2018-09-23 18:26:57 +02:00
rasterizer_canvas_gles2.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
rasterizer_canvas_gles2.h Revert "Batch GLES2 draw calls" 2018-08-20 02:10:14 +02:00
rasterizer_gles2.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
rasterizer_gles2.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
rasterizer_scene_gles2.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
rasterizer_scene_gles2.h -Rewrote GLES2 lighting and shadows and optimized state changes, did many optimizations, added vertex lighting. 2018-09-23 12:14:50 -03:00
rasterizer_storage_gles2.cpp Fix various warnings: [-Waddress], [-Wpointer-arith], [-Wwrite-strings], [-Wreturn-local-addr] and more 2018-09-27 16:33:52 +02:00
rasterizer_storage_gles2.h -Rewrote GLES2 lighting and shadows and optimized state changes, did many optimizations, added vertex lighting. 2018-09-23 12:14:50 -03:00
SCsub add GLES 2 renderer for 2D 2018-03-01 15:12:30 +01:00
shader_compiler_gles2.cpp -Rewrote GLES2 lighting and shadows and optimized state changes, did many optimizations, added vertex lighting. 2018-09-23 12:14:50 -03:00
shader_compiler_gles2.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
shader_gles2.cpp Fix warnings about set but unused variables [-Wunused-but-set-variable] 2018-09-27 16:25:24 +02:00
shader_gles2.h -Rewrote GLES2 lighting and shadows and optimized state changes, did many optimizations, added vertex lighting. 2018-09-23 12:14:50 -03:00