[Impeller] Call glDebugMessageControlKHR only if the KHR_debug extension is available (#163273)
Fixes https://github.com/flutter/flutter/issues/163269
This commit is contained in:
parent
5e5f6080a1
commit
0fc52bc91f
@ -374,7 +374,7 @@ bool ReactorGLES::FlushOps() {
|
|||||||
|
|
||||||
void ReactorGLES::SetupDebugGroups() {
|
void ReactorGLES::SetupDebugGroups() {
|
||||||
// Setup of a default active debug group: Filter everything in.
|
// Setup of a default active debug group: Filter everything in.
|
||||||
if (proc_table_->DebugMessageControlKHR.IsAvailable()) {
|
if (can_set_debug_labels_) {
|
||||||
proc_table_->DebugMessageControlKHR(GL_DONT_CARE, // source
|
proc_table_->DebugMessageControlKHR(GL_DONT_CARE, // source
|
||||||
GL_DONT_CARE, // type
|
GL_DONT_CARE, // type
|
||||||
GL_DONT_CARE, // severity
|
GL_DONT_CARE, // severity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user