Skip to content

Commit 4b2cb7a

Browse files
committed
chore: bump graphics ext version to v1.7.0
1 parent d5a8505 commit 4b2cb7a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
Below is the change log for typical users. Minor and older changes stripped
66
away, please see git history for details.
77

8+
- v0.7.1 (2026-xx-xx) (graphics) expose color write mask for stencil buffer
89
- v0.7.0 (2026-01-02) (dds) version 1.0
910
(dxt) version 1.0
1011
(resource) version 1.0

docs/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ the API is complete. It just means we won't break what currently exists.
6060
* Draw Backend v1.1.0 (pl_draw_backend_ext.h)
6161
* DXT v1.0.0 (pl_dxt_ext.h)
6262
* GPU Allocators v1.0.0 (pl_gpu_allocators_ext.h)
63-
* Graphics v1.5.2 (pl_graphics_ext.h)
63+
* Graphics v1.7.0 (pl_graphics_ext.h)
6464
* Image v1.0.0 (pl_image_ext.h)
6565
* Job v2.2.0 (pl_job_ext.h)
6666
* Atomics v1.0.0 (pl_platform_ext.h)

extensions/pl_graphics_ext.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Index of this file:
114114
// [SECTION] apis
115115
//-----------------------------------------------------------------------------
116116

117-
#define plGraphicsI_version {1, 6, 0}
117+
#define plGraphicsI_version {1, 7, 0}
118118

119119
//-----------------------------------------------------------------------------
120120
// [SECTION] includes
@@ -1782,12 +1782,12 @@ enum _plFormat
17821782

17831783
enum _plColorWriteMask
17841784
{
1785+
PL_COLOR_WRITE_MASK_NONE = 0,
17851786
PL_COLOR_WRITE_MASK_R = 1 << 0,
17861787
PL_COLOR_WRITE_MASK_G = 1 << 1,
17871788
PL_COLOR_WRITE_MASK_B = 1 << 2,
17881789
PL_COLOR_WRITE_MASK_A = 1 << 3,
1789-
PL_COLOR_WRITE_MASK_ALL = 0xF,
1790-
PL_COLOR_WRITE_MASK_NONE = 0
1790+
PL_COLOR_WRITE_MASK_ALL = PL_COLOR_WRITE_MASK_R | PL_COLOR_WRITE_MASK_G | PL_COLOR_WRITE_MASK_B | PL_COLOR_WRITE_MASK_A
17911791
};
17921792

17931793
enum _plBlendMode

0 commit comments

Comments
 (0)