Increased the text surface size

This is necessary for high-dpi monitors which render text at double
resolution.
This commit is contained in:
Stefanos A. 2013-09-27 22:59:56 +02:00
parent 56d7e4e564
commit b3ce99a086

View file

@ -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;