brute forced text support, fixed an off-by one, lots to fix

This commit is contained in:
2026-07-08 19:44:37 -07:00
parent ee0d43dd75
commit bb30e2df0b
6 changed files with 106 additions and 17 deletions
+1 -2
View File
@@ -11,8 +11,7 @@ namespace UwU {
class Buffer {
public:
Buffer(uint16_t width, uint16_t height) {
uint8_t pixels[width * height * 4];
this->pixels = pixels;
this->pixels = new uint8_t[width * height * 4];
this->width = width;
this->height = height;
this->stride = width * 4;