diff options
| author | onelin <oscar@nelin.dk> | 2025-12-03 23:02:54 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-12-18 21:14:21 +0000 |
| commit | 3a24982d1ed318b26e5ea191db63cedeb9e8d43f (patch) | |
| tree | 23dc26c6da3e8c831a9e26be1aec3bfdc6e2049f /src/daw.c | |
| parent | 7e24f38e9d7c5ea04112c59d3f8dc74bc938da7e (diff) | |
Try linear filtering:)
Diffstat (limited to 'src/daw.c')
| -rw-r--r-- | src/daw.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -251,11 +251,11 @@ i32 engine_run(Instance* p, StateType initial_state, void* state_arg) { 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( - BUFFERPARAMETER_SET_TYPE(0, BufferType_texture), - BUFFERPARAMETER_TEXTURE_2D | BUFFERPARAMETER_FMT_DEPTH32 - ), - //BUFFERPARAMETER_SET_PARAMETER(BUFFERPARAMETER_SET_TYPE(0, BufferType_render), BUFFERPARAMETER_RENDERBUFFER_DEPTH | BUFFERPARAMETER_FMT_DEPTH32F), + // BUFFERPARAMETER_SET_PARAMETER( + // BUFFERPARAMETER_SET_TYPE(0, BufferType_texture), + // BUFFERPARAMETER_TEXTURE_2D | BUFFERPARAMETER_FMT_DEPTH32 + // ), + BUFFERPARAMETER_SET_PARAMETER(BUFFERPARAMETER_SET_TYPE(0, BufferType_render), BUFFERPARAMETER_RENDERBUFFER_DEPTH | BUFFERPARAMETER_FMT_DEPTH32F), }; FramebufferParameters p[] = { {.num_attached_buffers = sizeof(t) / sizeof(t[0]), .dimensions = {wsz[0], wsz[1], 0}}, |
