Fixed the size of the bitmap_t.line array, fixes out-of-bounds acceses.

This commit is contained in:
OBattler
2020-01-14 19:42:11 +01:00
parent c0946552bc
commit c09acf597d

View File

@@ -65,7 +65,7 @@ typedef struct {
typedef struct {
int w, h;
uint32_t *dat;
uint32_t *line[2048];
uint32_t *line[2112];
} bitmap_t;
typedef struct {