From ea8a8213757a48389e41339869ae9e2abd3a72c8 Mon Sep 17 00:00:00 2001 From: onelin Date: Mon, 1 Dec 2025 22:47:07 +0100 Subject: TMP --- src/daw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daw.c b/src/daw.c index 20a16b4..2687f11 100644 --- a/src/daw.c +++ b/src/daw.c @@ -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) -- cgit v1.3