Fix broken assert

This commit is contained in:
Aaron Culliney 2016-01-07 20:57:22 -08:00
parent 659a338d26
commit 18c02d3673

View File

@ -28,7 +28,7 @@ typedef struct EightPatchArgs_s {
#ifndef NDEBUG
# define SET_TEX_PIXEL(OFF) \
do { \
assert((OFF) > 0 && (OFF) < lastPoint); \
assert((OFF) >= 0 && (OFF) < lastPoint); \
*((PIXEL_TYPE*)(texPixels + (OFF))) |= SEMI_OPAQUE; \
} while (0);
#else