diff --git a/src/Magnum/GL/Mesh.h b/src/Magnum/GL/Mesh.h index 30d16f3f4..be68ce73c 100644 --- a/src/Magnum/GL/Mesh.h +++ b/src/Magnum/GL/Mesh.h @@ -1084,12 +1084,12 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject { void MAGNUM_GL_LOCAL bindVAO(); #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 - void drawInternal(Int count, Int baseVertex, Int instanceCount, GLintptr indexOffset); + MAGNUM_GL_LOCAL void drawInternal(Int count, Int baseVertex, Int instanceCount, GLintptr indexOffset); #endif - void drawInternal(const Containers::ArrayView& counts, const Containers::ArrayView& vertexOffsets, + MAGNUM_GL_LOCAL void drawInternal(const Containers::ArrayView& counts, const Containers::ArrayView& vertexOffsets, #ifdef CORRADE_TARGET_32BIT const Containers::ArrayView& indexOffsets #else @@ -1098,7 +1098,7 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject { ); #ifndef MAGNUM_TARGET_GLES - void drawInternal(TransformFeedback& xfb, UnsignedInt stream, Int instanceCount); + MAGNUM_GL_LOCAL void drawInternal(TransformFeedback& xfb, UnsignedInt stream, Int instanceCount); #endif void MAGNUM_GL_LOCAL createImplementationDefault(bool);