mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 05:55:29 +00:00
Fixed loading of Bitmap on Linux (invalid path separator).
This commit is contained in:
parent
9725f72fb9
commit
b4f044b293
|
@ -26,7 +26,7 @@ namespace Examples.Tutorial
|
||||||
[Example("Texture mapping", ExampleCategory.Tutorial, 5)]
|
[Example("Texture mapping", ExampleCategory.Tutorial, 5)]
|
||||||
public class Textures : GameWindow
|
public class Textures : GameWindow
|
||||||
{
|
{
|
||||||
Bitmap bitmap = new Bitmap("Data\\logo-dark.jpg");
|
Bitmap bitmap = new Bitmap("Data/logo-dark.jpg");
|
||||||
int texture;
|
int texture;
|
||||||
|
|
||||||
public Textures() : base(new DisplayMode(800, 600)) { }
|
public Textures() : base(new DisplayMode(800, 600)) { }
|
||||||
|
|
Loading…
Reference in a new issue