diff options
| author | onelin <oscar@nelin.dk> | 2025-12-01 21:47:07 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-12-18 21:14:17 +0000 |
| commit | ea8a8213757a48389e41339869ae9e2abd3a72c8 (patch) | |
| tree | e783c2c907b8c00f455ed42af46b4815056c1f73 /src/daw.c | |
| parent | c942ac022573f03496327234e494ca0981291613 (diff) | |
TMP
Diffstat (limited to 'src/daw.c')
| -rw-r--r-- | src/daw.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -195,7 +195,7 @@ static const char* default_quad_shader_vertex_src = "out vec2 UV;\n" "\n" "void main() {\n" -" gl_Position = vec4(vertexPosition_modelspace, 0, 0);\n" +" gl_Position = vec4(vertexPosition_modelspace, 0, 1);\n" "\n" " UV = vertexUV;\n" "}"; @@ -246,7 +246,7 @@ i32 engine_run(Instance* p, StateType initial_state, void* state_arg) { // one. This is used to render a texture that is represented as a quad // on the default framebuffer. FramebufferParameters p[] = { - {.num_attached_buffers = 1, {200,200}}, + {.num_attached_buffers = 1, {1600,1600}}, }; u32 t[] = { BUFFERPARAMETER_SET_PARAMETER(BUFFERPARAMETER_SET_TYPE(0, BufferType_texture), BUFFERPARAMETER_TEXTURE_2D | BUFFERPARAMETER_TEXTURE_FMT_RGBA8) |
