summaryrefslogtreecommitdiff
path: root/src/daw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daw.c')
-rw-r--r--src/daw.c4
1 files 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)