Add support for GL_KHR_debug in Debug Mode.

Based on a patch by: @linkmauve
Reviewed by: @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D2488
This was SVN commit r26141.
This commit is contained in:
Stan
2021-12-30 15:07:17 +00:00
parent b74fd6d4a2
commit ae32055c9b
10 changed files with 165 additions and 0 deletions
+2
View File
@@ -22,6 +22,7 @@
#include "graphics/Canvas2D.h"
#include "graphics/FontMetrics.h"
#include "graphics/TextRenderer.h"
#include "lib/ogl.h"
#include "lib/os_path.h"
#include "lib/timer.h"
#include "lib/utf8.h"
@@ -205,6 +206,7 @@ void CLogger::WriteWarning(const char* message)
void CLogger::Render()
{
PROFILE3_GPU("logger");
OGL_SCOPED_DEBUG_GROUP("Draw CLogger messages");
CleanupRenderQueue();