diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-02-17 18:38:21 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-02-17 18:38:21 +0300 |
commit | 89c79c3ed8d4f8cdf4f78782443bcf218425b412 (patch) | |
tree | defbd5117646c17d8456a30db55d8fedb57998b8 /source/blender/imbuf/intern | |
parent | 4430e8a00810ca8df2fa20029c4cb8078e8cdbe6 (diff) |
Cleanup: Abbreviate enums with 'UNSIGNED_' in the name
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/util_gpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/imbuf/intern/util_gpu.c b/source/blender/imbuf/intern/util_gpu.c index 8bedf8eb93c..2b99a0aa81d 100644 --- a/source/blender/imbuf/intern/util_gpu.c +++ b/source/blender/imbuf/intern/util_gpu.c @@ -49,7 +49,7 @@ static void imb_gpu_get_format(const ImBuf *ibuf, !IMB_colormanagement_space_is_scene_linear(ibuf->rect_colorspace)); high_bitdepth = (!(ibuf->flags & IB_halffloat) && high_bitdepth); - *r_data_format = (float_rect) ? GPU_DATA_FLOAT : GPU_DATA_UNSIGNED_BYTE; + *r_data_format = (float_rect) ? GPU_DATA_FLOAT : GPU_DATA_UBYTE; if (float_rect) { *r_texture_format = high_bitdepth ? GPU_RGBA32F : GPU_RGBA16F; |