mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
20b5be0886
When a texel is picked on texel-borders of a texture, the behavior (tie-breaking) depends on GPU and unexpected. This change fixes this issue by shifting 1/512 [texel] when picking a texel up. Updates #1212 |
||
---|---|---|
.. | ||
ca | ||
mtl | ||
ns | ||
graphics.go | ||
README.md | ||
view_ios.go | ||
view_macos.go | ||
view.go |
These packages are copied from Dmitri Shuralyov's mtl packages and edited with Dmitri's permission:
github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ca
(copied fromdmitri.shuralyov.com/gpu/mtl/example/movingtriangle/internal/ca
)github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/mtl
(copied fromdmitri.shuralyov.com/gpu/mtl
)github.com/hajimehoshi/ebiten/internal/graphicsdriver/metal/ns
(copied fromdmitri.shuralyov.com/gpu/mtl/example/movingtriangle/internal/ns
)