mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 00:46:55 +00:00
Don't hardcode cursor.png path.
This commit is contained in:
parent
eab7e1ec0d
commit
5b4f75ab68
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue