- [FIX] Al pintar una surface el reemplaç de color es feia doble

This commit is contained in:
2026-04-15 17:33:59 +02:00
parent c0d1b1fecf
commit 884df104bd
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -26,7 +26,7 @@ namespace mini
namespace pixel { namespace pixel {
static inline void pset_fast(int x, int y, uint8_t color) { static inline void pset_fast(int x, int y, uint8_t color) {
if (state.trans != color) DEST(x, y) = state.draw_palette[color]; if (state.trans != color) DEST(x, y) = color;
} }
static inline void pset_bool(int x, int y, uint8_t color) { static inline void pset_bool(int x, int y, uint8_t color) {

View File

@@ -1,3 +1,3 @@
#pragma once #pragma once
#define MINI_VERSION "1.5.0" #define MINI_VERSION "1.5.1"