This commit is contained in:
Mylloon 2022-11-15 00:30:30 +01:00
parent bd9048595e
commit 628ccf948c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,7 +1,7 @@
#include "../includes/plateau.h"
Table *generate_table(GLuint width, GLuint height, Pos origin, Uint32 color) {
Table *table = malloc(sizeof(Table *));
Table *table = malloc(sizeof(Table));
assert(table != NULL);
table->width = width;