only add debug extension in debug build
This commit is contained in:
parent
ecaac2afc1
commit
e0a5f2a0b4
1 changed files with 15 additions and 14 deletions
|
@ -85,6 +85,7 @@ impl RendererBackendManager {
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.to_vec();
|
.to_vec();
|
||||||
|
|
||||||
|
#[cfg(debug_assertions)]
|
||||||
extension_names.push(DebugUtils::name().as_ptr());
|
extension_names.push(DebugUtils::name().as_ptr());
|
||||||
|
|
||||||
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
||||||
|
|
Loading…
Add table
Reference in a new issue