diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-07-18 01:12:21 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-07-18 12:49:15 +0300 |
commit | 8cd7828792419fb4eac9a2a477968535b4c71535 (patch) | |
tree | 8fc733149fe07b7d9edd4b8b1e709519b4481887 /source/blender/gpu/GPU_batch_presets.h | |
parent | 247ad2034de2c33a6d9cb7d3b6f1ef7ffa5b859d (diff) |
GWN: Port to GPU module: Replace GWN prefix by GPU
Diffstat (limited to 'source/blender/gpu/GPU_batch_presets.h')
-rw-r--r-- | source/blender/gpu/GPU_batch_presets.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/gpu/GPU_batch_presets.h b/source/blender/gpu/GPU_batch_presets.h index 2450a1760c3..a33b864c5b9 100644 --- a/source/blender/gpu/GPU_batch_presets.h +++ b/source/blender/gpu/GPU_batch_presets.h @@ -24,7 +24,7 @@ * ***** END GPL LICENSE BLOCK ***** */ -/* Batched geometry rendering is powered by the Gawain library. +/* Batched geometry rendering is powered by the GPU library. * This file contains any additions or modifications specific to Blender. */ @@ -32,20 +32,20 @@ #define __GPU_BATCH_PRESETS_H__ struct rctf; -struct Gwn_VertFormat; +struct GPUVertFormat; #include "BLI_compiler_attrs.h" #include "BLI_sys_types.h" /* gpu_batch_presets.c */ -struct Gwn_VertFormat *GPU_batch_preset_format_3d(void); +struct GPUVertFormat *GPU_batch_preset_format_3d(void); /* Replacement for gluSphere */ -struct Gwn_Batch *GPU_batch_preset_sphere(int lod) ATTR_WARN_UNUSED_RESULT; -struct Gwn_Batch *GPU_batch_preset_sphere_wire(int lod) ATTR_WARN_UNUSED_RESULT; +struct GPUBatch *GPU_batch_preset_sphere(int lod) ATTR_WARN_UNUSED_RESULT; +struct GPUBatch *GPU_batch_preset_sphere_wire(int lod) ATTR_WARN_UNUSED_RESULT; void gpu_batch_presets_init(void); -void gpu_batch_presets_register(struct Gwn_Batch *preset_batch); +void gpu_batch_presets_register(struct GPUBatch *preset_batch); void gpu_batch_presets_reset(void); void gpu_batch_presets_exit(void); |