- [FIX] El text usava un uint8_t per a la posició x, saturava per damunt de 256 pixels
This commit is contained in:
@@ -455,7 +455,7 @@ namespace mini
|
||||
void text(const char* str, int x, int y, uint8_t color) {
|
||||
|
||||
const unsigned char* p = (const unsigned char*)str;
|
||||
uint8_t xpos = x;
|
||||
int xpos = x;
|
||||
|
||||
uint8_t old_source = surf::source::get();
|
||||
surf::source::set(font::current_font->surface);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#define MINI_VERSION "1.5.3"
|
||||
#define MINI_VERSION "1.5.4"
|
||||
|
||||
Reference in New Issue
Block a user