Browse Source

GL: exclude debug enum printer values from coverage.

pull/680/head
Vladimír Vondruš 10 months ago
parent
commit
3d55698cea
  1. 2
      src/Magnum/GL/Buffer.cpp

2
src/Magnum/GL/Buffer.cpp

@ -732,6 +732,7 @@ Debug& operator<<(Debug& debug, const Buffer::Target value) {
debug << "GL::Buffer::Target" << Debug::nospace;
switch(value) {
/* LCOV_EXCL_START */
#define _c(value) case Buffer::Target::value: return debug << "::" #value;
#ifndef MAGNUM_TARGET_WEBGL
_c(AtomicCounter)
@ -739,6 +740,7 @@ Debug& operator<<(Debug& debug, const Buffer::Target value) {
#endif
_c(Uniform)
#undef _c
/* LCOV_EXCL_STOP */
}
return debug << "(" << Debug::nospace << Debug::hex << GLenum(value) << Debug::nospace << ")";

Loading…
Cancel
Save