mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
testing colors on the project cause we need to test it out
This commit is contained in:
+2
-2
@@ -43,8 +43,8 @@ class MazeMLX:
|
|||||||
def put_pixel(self, x, y) -> None:
|
def put_pixel(self, x, y) -> None:
|
||||||
offset = y * self.size_line + x * (self.bpp // 8)
|
offset = y * self.size_line + x * (self.bpp // 8)
|
||||||
|
|
||||||
self.buf[offset + 0] = 0xFF
|
self.buf[offset + 0] = 0x00
|
||||||
self.buf[offset + 1] = 0xFF
|
self.buf[offset + 1] = 0x00
|
||||||
self.buf[offset + 2] = 0xFF
|
self.buf[offset + 2] = 0xFF
|
||||||
if self.bpp >= 32:
|
if self.bpp >= 32:
|
||||||
self.buf[offset + 3] = 0xFF
|
self.buf[offset + 3] = 0xFF
|
||||||
|
|||||||
Reference in New Issue
Block a user