diff options
Diffstat (limited to 'demo/source/chgcol.c')
-rw-r--r-- | demo/source/chgcol.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/source/chgcol.c b/demo/source/chgcol.c index 554c2d3..4519319 100644 --- a/demo/source/chgcol.c +++ b/demo/source/chgcol.c @@ -3,7 +3,7 @@ #include <ax/gfx.h> void axd_chgcol(axd_dat * _dat,ax_i8 const _dir) { - constexpr ax_i8 maxcol = 0x7u; + constexpr ax_i8 maxcol = 0xEu; ax_i8 col = _dat->col; if (!_dir) { if (!col) {col = maxcol;} @@ -14,4 +14,5 @@ void axd_chgcol(axd_dat * _dat,ax_i8 const _dir) { else {++col;} } _dat->col = col; + axd_setcolbdr(_dat->vaddr,col); } |