Fixed loading of Bitmap on Linux (invalid path separator).

This commit is contained in:
the_fiddler 2007-11-11 20:09:18 +00:00
parent 9725f72fb9
commit b4f044b293

View file

@ -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)) { }