diff options
author | firefly2442 <firefly2442@gmail.com> | 2018-01-03 21:17:30 -0700 |
---|---|---|
committer | firefly2442 <firefly2442@gmail.com> | 2018-01-03 21:23:48 -0700 |
commit | f066991aa7bdf8c5e06f2255ea1df96e5daeac9f (patch) | |
tree | 424ea3f7d04d415bdaee86e4cfaf8be0bfb89e1d /drivers | |
parent | 914f51031c54a36891418451ffe9a0490d2ab561 (diff) |
found via cppcheck:
remove code that will never run
make definition and declaration names for parameters match
change floats that were being set to bool values
remove pointer that is never used
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gles3/rasterizer_storage_gles3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.h b/drivers/gles3/rasterizer_storage_gles3.h index 4ef4926a1a..74bd0a3cc1 100644 --- a/drivers/gles3/rasterizer_storage_gles3.h +++ b/drivers/gles3/rasterizer_storage_gles3.h @@ -1180,7 +1180,7 @@ public: clear = true; inactive = true; - inactive_time = false; + inactive_time = 0.0; glGenBuffers(2, particle_buffers); glGenVertexArrays(2, particle_vaos); |