mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 19:58:36 +01:00
(Partially) slip thin3d underneath DrawBuffer.
This commit is contained in:
1 parent
dfbb0bdea2
commit
808f05da89
14 files changed
+31
-177
No files matched your search
@@ -19,7 +19,7 @@ static HWND hWnd; // Holds Our Window Handle
|
||||
static int xres, yres;
|
||||
|
||||
// TODO: Make config?
|
||||
static bool enableGLDebug = false;
|
||||
static bool enableGLDebug = true;
|
||||
|
||||
void GL_SwapBuffers() {
|
||||
SwapBuffers(hDC);
|
||||
@@ -71,6 +71,7 @@ void DebugCallbackARB(GLenum source, GLenum type, GLuint id, GLenum severity,
|
||||
FILE *outFile = (FILE*)userParam;
|
||||
char finalMessage[256];
|
||||
FormatDebugOutputARB(finalMessage, 256, source, type, id, severity, message);
|
||||
OutputDebugStringA(finalMessage);
|
||||
ERROR_LOG(G3D, "GL: %s", finalMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user