Browse Source

Ugh, GL leftovers.

simd
Vladimír Vondruš 8 years ago
parent
commit
7f23740e82
  1. 4
      src/Magnum/Magnum.h
  2. 4
      src/Magnum/Mesh.cpp

4
src/Magnum/Magnum.h

@ -42,10 +42,6 @@
#endif #endif
#endif #endif
#ifndef DOXYGEN_GENERATING_OUTPUT
typedef unsigned int GLenum; /* Needed for *Format and *Type enums */
#endif
namespace Magnum { namespace Magnum {
/* Bring whole Corrade namespace */ /* Bring whole Corrade namespace */

4
src/Magnum/Mesh.cpp

@ -70,7 +70,7 @@ Debug& operator<<(Debug& debug, MeshPrimitive value) {
/* LCOV_EXCL_STOP */ /* LCOV_EXCL_STOP */
} }
return debug << "MeshPrimitive(" << Debug::nospace << reinterpret_cast<void*>(GLenum(value)) << Debug::nospace << ")"; return debug << "MeshPrimitive(" << Debug::nospace << reinterpret_cast<void*>(UnsignedInt(value)) << Debug::nospace << ")";
} }
Debug& operator<<(Debug& debug, MeshIndexType value) { Debug& operator<<(Debug& debug, MeshIndexType value) {
@ -84,7 +84,7 @@ Debug& operator<<(Debug& debug, MeshIndexType value) {
/* LCOV_EXCL_STOP */ /* LCOV_EXCL_STOP */
} }
return debug << "MeshIndexType(" << Debug::nospace << reinterpret_cast<void*>(GLenum(value)) << Debug::nospace << ")"; return debug << "MeshIndexType(" << Debug::nospace << reinterpret_cast<void*>(UnsignedInt(value)) << Debug::nospace << ")";
} }
#endif #endif

Loading…
Cancel
Save