mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-07-30 09:28:55 +00:00
Fix broken assert
This commit is contained in:
parent
659a338d26
commit
18c02d3673
@ -28,7 +28,7 @@ typedef struct EightPatchArgs_s {
|
|||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
# define SET_TEX_PIXEL(OFF) \
|
# define SET_TEX_PIXEL(OFF) \
|
||||||
do { \
|
do { \
|
||||||
assert((OFF) > 0 && (OFF) < lastPoint); \
|
assert((OFF) >= 0 && (OFF) < lastPoint); \
|
||||||
*((PIXEL_TYPE*)(texPixels + (OFF))) |= SEMI_OPAQUE; \
|
*((PIXEL_TYPE*)(texPixels + (OFF))) |= SEMI_OPAQUE; \
|
||||||
} while (0);
|
} while (0);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user