Don't hardcode cursor.png path.

This commit is contained in:
Fraser Waters 2014-02-21 11:35:15 +00:00 committed by thefiddler
parent eab7e1ec0d
commit 5b4f75ab68

View file

@ -21,7 +21,7 @@ namespace Examples.Tutorial
{
Keyboard.KeyDown += Keyboard_KeyDown;
Bitmap bitmap = new Bitmap("D:/VisualStudio/Projects/opentk/Source/Examples/Data/Textures/cursor.png");
Bitmap bitmap = new Bitmap("Data/Textures/cursor.png");
var rgba = new byte[bitmap.Width * bitmap.Height * 4];
var data = bitmap.LockBits(