diff options
| author | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-02-01 11:23:06 +0100 |
|---|---|---|
| committer | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-02-01 11:23:06 +0100 |
| commit | 55e4700bc7588f4e9775941ab150887c3ab93422 (patch) | |
| tree | 9430a352e6d73fe305813dc6f43ae33834611cee /libpsx/include | |
| parent | a8fb8794571be967dd8a0ed9ea8fee8cf6f33fb9 (diff) | |
Minor change on COLORMODE definition
Diffstat (limited to 'libpsx/include')
| -rw-r--r-- | libpsx/include/psxgpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpsx/include/psxgpu.h b/libpsx/include/psxgpu.h index 174569c..53c53d9 100644 --- a/libpsx/include/psxgpu.h +++ b/libpsx/include/psxgpu.h @@ -525,7 +525,7 @@ enum psx_gpu_texmodes /** * Macro to specify texture color mode, takes a value from psx_gpu_texmodes */ -#define COLORMODE(x) x&3 +#define COLORMODE(x) ((x) & 3) /** * Macro to specify translucency/semitransparency mode, where x can be a value from 0 to 3. * |
