Add OpenGL debug messages to the console

This commit is contained in:
Magnus Norddahl 2016-08-17 20:33:10 +02:00
commit 2cb5f1740e
6 changed files with 293 additions and 0 deletions

View file

@ -6,8 +6,11 @@
#include "win32gliface.h"
#endif
#include <memory>
class FHardwareTexture;
class FSimpleVertexBuffer;
class FGLDebug;
extern long gl_frameMS;
extern long gl_frameCount;
@ -117,6 +120,8 @@ private:
bool HWGammaActive = false;
std::shared_ptr<FGLDebug> mDebug;
public:
AActor * LastCamera;
int palette_brightness;