summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-12-03 22:01:19 +0000
committeronelin <oscar@nelin.dk>2025-12-18 21:14:20 +0000
commit3a9964b094ec10e8f47b53a57448081342134df3 (patch)
tree83f317651a24c4afa1fc14b8c66d73687c084719 /src/include
parent4c6c70a1d9eecee94001b271f949673aee4f9c92 (diff)
Set target texture fmt to rgb
Diffstat (limited to 'src/include')
-rw-r--r--src/include/daw/rendering.h19
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