[core] only load debug extensions in debug mode

This commit is contained in:
Konstantin Käfer
2016-09-28 17:30:01 +02:00
committed by John Firebaugh
parent 2ec2860ce5
commit 8c4da72d09
3 changed files with 17 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
#ifndef NDEBUG
#include <mbgl/gl/debugging.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/gl/extension.hpp>
@@ -189,3 +190,5 @@ group::~group() {
} // namespace debugging
} // namespace gl
} // namespace mbgl
#endif