summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-05-11 18:39:52 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-05-11 18:39:52 +0000
commitf7326f6aaa2e3194937bf361e0ba10e7b2ea9e94 (patch)
treebe14fa5ab41a41617b164d92e5fddd2d4fb20ef7 /Graphics/GraphicsEngine
parentOpenGL backend: enabled debug output on Android (diff)
downloadDiligentCore-f7326f6aaa2e3194937bf361e0ba10e7b2ea9e94.tar.gz
DiligentCore-f7326f6aaa2e3194937bf361e0ba10e7b2ea9e94.zip
Added EngineGLCreateInfo::CreateDebugContext member (API Version 240060)
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/APIInfo.h2
-rw-r--r--Graphics/GraphicsEngine/interface/GraphicsTypes.h7
2 files changed, 8 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/APIInfo.h b/Graphics/GraphicsEngine/interface/APIInfo.h
index fc177e9e..0f2ec7ab 100644
--- a/Graphics/GraphicsEngine/interface/APIInfo.h
+++ b/Graphics/GraphicsEngine/interface/APIInfo.h
@@ -30,7 +30,7 @@
/// \file
/// Diligent API information
-#define DILIGENT_API_VERSION 240059
+#define DILIGENT_API_VERSION 240060
#include "../../../Primitives/interface/BasicTypes.h"
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
index ef786105..936da969 100644
--- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h
+++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h
@@ -1374,6 +1374,13 @@ struct EngineGLCreateInfo DILIGENT_DERIVE(EngineCreateInfo)
/// Native window wrapper
NativeWindow Window;
+
+ /// Create debug OpenGL context and enable debug output.
+
+ /// Debug contexts are intended for use during application development, and
+ /// provide additional runtime checking, validation, and logging
+ /// functionality while possibly incurring performance penalties
+ bool CreateDebugContext DEFAULT_INITIALIZER(false);
};
typedef struct EngineGLCreateInfo EngineGLCreateInfo;