diff options
author | Dalai Felinto <dalai@blender.org> | 2020-08-06 15:23:39 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-08-06 17:44:03 +0300 |
commit | 45e6ca36615fe9a720c9f25343556326fcbd5952 (patch) | |
tree | a98d1489550db05c6d2c114f2a9068a34d20afbf /source/blender/gpu/GPU_batch_presets.h | |
parent | 5e6119ddca1fc637a6658cd58e9c04f40f155314 (diff) |
Cleanup: Stop accessing gpu_batch_presets_reset()
The current code is accessing this from outside the gpu "namespace". As
such it should be accessing GPU_ functions, not gpu_ functions.
This is also a place to centralize the XXX message that will be
addressed upon refactor. So we can reuse this call in other places that
need the same temporary workaround.
Groundwork for upcoming fix (D8472)
Diffstat (limited to 'source/blender/gpu/GPU_batch_presets.h')
-rw-r--r-- | source/blender/gpu/GPU_batch_presets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_batch_presets.h b/source/blender/gpu/GPU_batch_presets.h index eb803333d98..38de21e7955 100644 --- a/source/blender/gpu/GPU_batch_presets.h +++ b/source/blender/gpu/GPU_batch_presets.h @@ -50,6 +50,8 @@ bool gpu_batch_presets_unregister(struct GPUBatch *preset_batch); void gpu_batch_presets_reset(void); void gpu_batch_presets_exit(void); +void GPU_batch_presets_reset(void); + #ifdef __cplusplus } #endif |