mirror of
https://github.com/utmapp/angle.git
synced 2026-12-01 22:13:25 -10:00
RendererGL: enable GL_DEBUG_OUTPUT on Debug builds
The intent was already to enable it but without glEnable(GL_DEBUG_OUTPUT) the Linux NVIDIA driver doesn't output anything. BUG= Change-Id: Ia9a500c2e792ee7c4e2a7be60d478419eda617e1 Reviewed-on: https://chromium-review.googlesource.com/385278 Commit-Queue: Corentin Wallez <[email protected]> Reviewed-by: Geoff Lang <[email protected]>
This commit is contained in:
1 parent
fcb7935759
commit
930fefca12
1 file changed
+1
@@ -122,6 +122,7 @@ RendererGL::RendererGL(const FunctionsGL *functions, const egl::AttributeMap &at
|
||||
#ifndef NDEBUG
|
||||
if (mHasDebugOutput)
|
||||
{
|
||||
mFunctions->enable(GL_DEBUG_OUTPUT);
|
||||
mFunctions->enable(GL_DEBUG_OUTPUT_SYNCHRONOUS);
|
||||
mFunctions->debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_HIGH, 0, nullptr, GL_TRUE);
|
||||
mFunctions->debugMessageControl(GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_MEDIUM, 0, nullptr, GL_TRUE);
|
||||
|
||||
Reference in new issue
Block a user