diff options
| author | onelin <oscar@nelin.dk> | 2025-12-03 22:01:19 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-12-18 21:14:20 +0000 |
| commit | 3a9964b094ec10e8f47b53a57448081342134df3 (patch) | |
| tree | 83f317651a24c4afa1fc14b8c66d73687c084719 /src/daw.c | |
| parent | 4c6c70a1d9eecee94001b271f949673aee4f9c92 (diff) | |
Set target texture fmt to rgb
Diffstat (limited to 'src/daw.c')
| -rw-r--r-- | src/daw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -248,7 +248,7 @@ i32 engine_run(Instance* p, StateType initial_state, void* state_arg) { ivec2 wsz; window_get_size(&wsz); u32 t[] = { - BUFFERPARAMETER_SET_PARAMETER(BUFFERPARAMETER_SET_TYPE(0, BufferType_texture), BUFFERPARAMETER_TEXTURE_2D | BUFFERPARAMETER_FMT_RGBA8), + BUFFERPARAMETER_SET_PARAMETER(BUFFERPARAMETER_SET_TYPE(0, BufferType_texture), BUFFERPARAMETER_TEXTURE_2D | BUFFERPARAMETER_FMT_RGB8), // The depth buffer could also be a texture like so: BUFFERPARAMETER_SET_PARAMETER( |
