Closed thautwarm closed 2 years ago
Hi Tom!
The following statement in pygame-sdl2 behaves differently in pygame:
# 'color' is an uint8 triple # 'Map' is an SDL Surface pygame.draw.polygon(Map, color, points)
With data provided in this file, pygame(simple pip install-ed one) produces:
pygame
pip install
pygame-sdl2 produces:
pygame-sdl2
I tried many images but pygame-sdl2 always ignore the rightmost part and did no coloring.
also tried directly feed parameters to gfxdraw.filled_polygon and the results didn't change.
gfxdraw.filled_polygon
OS info: 18.04-1 Ubuntu x86_64
It works. The problem is pygame_sdl2.image.save.
pygame_sdl2.image.save
Hi Tom!
The following statement in pygame-sdl2 behaves differently in pygame:
With data provided in this file,![by-pygame](https://user-images.githubusercontent.com/22536460/136693067-95759071-aadf-4ba5-9ec5-c7a43549b41b.png)
pygame
(simplepip install
-ed one) produces:pygame-sdl2
produces:I tried many images but pygame-sdl2 always ignore the rightmost part and did no coloring.
also tried directly feed parameters to
gfxdraw.filled_polygon
and the results didn't change.