brute forced text support, fixed an off-by one, lots to fix
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user