Cleanup: DRW: Refactor code for better readability and simplification
authorClément Foucault <foucault.clem@gmail.com>
Sun, 19 May 2019 14:54:01 +0000 (16:54 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Wed, 22 May 2019 11:29:04 +0000 (13:29 +0200)
commit2b1da51b2fc2482411c10ce5c387d3b1c6ee87b0
treee18c697a7c28dcb31396c64a9c27314837f1b5ad
parentb82afb4b016c5924a5cc99523f0157b9af5cc384
Cleanup: DRW: Refactor code for better readability and simplification

- Remove DST.frontface and DST.backface.
- Separate uniform update into its own function draw_update_uniforms.
source/blender/draw/intern/draw_manager.c
source/blender/draw/intern/draw_manager.h
source/blender/draw/intern/draw_manager_exec.c