OpenGL error output in debug window + highdpi mode test

This commit is contained in:
Julian Nießner
2018-05-24 16:09:13 +02:00
parent d07c36a4f7
commit 3169790299
6 changed files with 194 additions and 56 deletions

View File

@@ -5,8 +5,16 @@
namespace Game {
#define WINDOW_WIDTH = 800;
#define WINDOW_HEIGHT = 600;
const int SCREEN_WIDTH = 800;
const int SCREEN_HEIGHT = 600;
//Diagonal DPI of the display used while starting
extern float DDPI;
//horizontal DPI of the display used while starting
extern float HDPI;
//vertical DPI of the display used while starting
extern float VDPI;
void exit();