Fix texures

* Add missing Mipmap generation call
* Add missing state clearing
* Add optional linear Mipmap flag setting
* Add optional edge clamping
* Fix texture orientation in Batcher.bf
* Fix example
This commit is contained in:
Thimo
2020-11-08 14:20:08 +01:00
parent decb8b855d
commit ae8ffdd2e3
4 changed files with 27 additions and 6 deletions

View File

@ -8,6 +8,7 @@ namespace Strawberry.Sample
static public int Main(String[] args)
{
let sdl = scope SDL2PlatformLayer();
sdl.TexturesEnableEdgeClamping = true;
let game = scope SampleGame(sdl);
game.Run();