Browse Source

GL: don't export Mesh internals.

Those aren't used from any header, so no need to have their symbols
visible.
pull/240/head
Vladimír Vondruš 5 years ago
parent
commit
0fb94f7061
  1. 8
      src/Magnum/GL/Mesh.h

8
src/Magnum/GL/Mesh.h

@ -1084,12 +1084,12 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject {
void MAGNUM_GL_LOCAL bindVAO(); void MAGNUM_GL_LOCAL bindVAO();
#ifndef MAGNUM_TARGET_GLES2 #ifndef MAGNUM_TARGET_GLES2
void drawInternal(Int count, Int baseVertex, Int instanceCount, UnsignedInt baseInstance, GLintptr indexOffset, Int indexStart, Int indexEnd); MAGNUM_GL_LOCAL void drawInternal(Int count, Int baseVertex, Int instanceCount, UnsignedInt baseInstance, GLintptr indexOffset, Int indexStart, Int indexEnd);
#else #else
void drawInternal(Int count, Int baseVertex, Int instanceCount, GLintptr indexOffset); MAGNUM_GL_LOCAL void drawInternal(Int count, Int baseVertex, Int instanceCount, GLintptr indexOffset);
#endif #endif
void drawInternal(const Containers::ArrayView<const UnsignedInt>& counts, const Containers::ArrayView<const UnsignedInt>& vertexOffsets, MAGNUM_GL_LOCAL void drawInternal(const Containers::ArrayView<const UnsignedInt>& counts, const Containers::ArrayView<const UnsignedInt>& vertexOffsets,
#ifdef CORRADE_TARGET_32BIT #ifdef CORRADE_TARGET_32BIT
const Containers::ArrayView<const UnsignedInt>& indexOffsets const Containers::ArrayView<const UnsignedInt>& indexOffsets
#else #else
@ -1098,7 +1098,7 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject {
); );
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES
void drawInternal(TransformFeedback& xfb, UnsignedInt stream, Int instanceCount); MAGNUM_GL_LOCAL void drawInternal(TransformFeedback& xfb, UnsignedInt stream, Int instanceCount);
#endif #endif
void MAGNUM_GL_LOCAL createImplementationDefault(bool); void MAGNUM_GL_LOCAL createImplementationDefault(bool);

Loading…
Cancel
Save