From 0fb94f7061622b1d6680599e4c4ecae751c7af16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Oct 2021 17:11:52 +0200 Subject: [PATCH] GL: don't export Mesh internals. Those aren't used from any header, so no need to have their symbols visible. --- src/Magnum/GL/Mesh.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);