diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-13 02:50:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-13 02:50:21 +0400 |
commit | 10f631094c158ff2fdb49fc9236e699fb91ed015 (patch) | |
tree | deb75dc6d040ad4bae45994d34bf5e150e3b29a1 /source/blender/blenfont/BLF_api.h | |
parent | 866f986898cf6c35e8b4d5190853e453a3eb1714 (diff) |
fix [#32126] STAMP: Setting a background color causes color flicker
when rendering the sequencer can output float or char buffers which stamp wasn't accounting for.
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 7f50e157f09..0732e02b5fc 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -145,13 +145,13 @@ void BLF_shadow_offset(int fontid, int x, int y); /* Set the buffer, size and number of channels to draw, one thing to take care is call * this function with NULL pointer when we finish, for example: * - * BLF_buffer(my_fbuf, my_cbuf, 100, 100, 4); + * BLF_buffer(my_fbuf, my_cbuf, 100, 100, 4, TRUE); * * ... set color, position and draw ... * - * BLF_buffer(NULL, NULL, 0, 0, 0); + * BLF_buffer(NULL, NULL, 0, 0, 0, FALSE); */ -void BLF_buffer(int fontid, float *fbuf, unsigned char *cbuf, int w, int h, int nch, int is_linear); +void BLF_buffer(int fontid, float *fbuf, unsigned char *cbuf, int w, int h, int nch, int do_color_management); /* Set the color to be used for text. */ void BLF_buffer_col(int fontid, float r, float g, float b, float a); |