mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-24 12:46:54 +00:00
Increased the text surface size
This is necessary for high-dpi monitors which render text at double resolution.
This commit is contained in:
parent
56d7e4e564
commit
b3ce99a086
|
@ -19,7 +19,7 @@ namespace Examples.Tests
|
||||||
public class GameWindowStates : GameWindow
|
public class GameWindowStates : GameWindow
|
||||||
{
|
{
|
||||||
static readonly Font TextFont = new Font(FontFamily.GenericSansSerif, 11);
|
static readonly Font TextFont = new Font(FontFamily.GenericSansSerif, 11);
|
||||||
Bitmap TextBitmap = new Bitmap(512, 512);
|
Bitmap TextBitmap = new Bitmap(1024, 1024);
|
||||||
int texture;
|
int texture;
|
||||||
bool mouse_in_window = false;
|
bool mouse_in_window = false;
|
||||||
bool viewport_changed = true;
|
bool viewport_changed = true;
|
||||||
|
|
Loading…
Reference in a new issue