aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 13a6328..3ddc29f 100644
--- a/main.c
+++ b/main.c
@@ -74,7 +74,7 @@ int main() {
// create font altas textures
atlas_create_texture(&state);
- initTextBuffer(&state, &state.input_buffer_text, "this is a gtest", strlen("this is a gtest"));
+ init_text_buffer(&state, &state.input_buffer_text, "", 0);
// event loop
while (state.running) {