diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/daw/rendering.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/include/daw/rendering.h b/src/include/daw/rendering.h index 9f8ba7c..42881a7 100644 --- a/src/include/daw/rendering.h +++ b/src/include/daw/rendering.h @@ -228,16 +228,17 @@ typedef enum { // mutually exclusive and shared between texture and renderbuffer buffers. //TODO: More formats -#define BUFFERPARAMETER_FMT_RGBA8 (1 << 8) -#define BUFFERPARAMETER_FMT_SRGB8 (2 << 8) -#define BUFFERPARAMETER_FMT_SRGBA8 (3 << 8) +#define BUFFERPARAMETER_FMT_RGBA8 ( 1 << 8) +#define BUFFERPARAMETER_FMT_RGB8 ( 2 << 8) +#define BUFFERPARAMETER_FMT_SRGB8 ( 3 << 8) +#define BUFFERPARAMETER_FMT_SRGBA8 ( 4 << 8) -#define BUFFERPARAMETER_FMT_DEPTH24_STENCIL8 (4 << 8) -#define BUFFERPARAMETER_FMT_DEPTH16 (5 << 8) -#define BUFFERPARAMETER_FMT_DEPTH24 (6 << 8) -#define BUFFERPARAMETER_FMT_DEPTH32 (7 << 8) -#define BUFFERPARAMETER_FMT_DEPTH32F (8 << 8) -#define BUFFERPARAMETER_FMT_STENCIL8 (9 << 8) +#define BUFFERPARAMETER_FMT_DEPTH24_STENCIL8 ( 5 << 8) +#define BUFFERPARAMETER_FMT_DEPTH16 ( 6 << 8) +#define BUFFERPARAMETER_FMT_DEPTH24 ( 7 << 8) +#define BUFFERPARAMETER_FMT_DEPTH32 ( 8 << 8) +#define BUFFERPARAMETER_FMT_DEPTH32F ( 9 << 8) +#define BUFFERPARAMETER_FMT_STENCIL8 (10 << 8) // "Easy default" values #define BUFFERPARAMETER_FMT_DEPTH_STENCIL BUFFERPARAMETER_FMT_DEPTH24_STENCIL8 |
