Skip to content

Commit

Permalink
Align colors in SDL package to Go specification (#581)
Browse files Browse the repository at this point in the history
* sdl/surface: handle colors correctly in Surface.Set method

* sdl/pixels: fix color models

* sdl/surface: handle RGBA correctly in Surface.At method

* sdl/pixels: make sdl.Color be of type color.NRGBA

* sdl/struct_test: fix compilation issue in sdl package

* sdl/pixels: improve binary upscale/downscale precision
  • Loading branch information
mokiat authored and veeableful committed Nov 25, 2023
1 parent 5c0986c commit 9abea52
Show file tree
Hide file tree
Showing 3 changed files with 475 additions and 250 deletions.

0 comments on commit 9abea52

Please sign in to comment.