mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user