@ -1319,11 +1319,6 @@ void AbstractShaderProgramGLTest::compute() {
/* These are outside of any namespace to verify the macros fully qualify all
/* These are outside of any namespace to verify the macros fully qualify all
names */
names */
namespace {
namespace {
/* Yes, Clang, I know, the macros add unused members. That's fine. */
# ifdef CORRADE_TARGET_CLANG
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wunused-member-function"
# endif
struct ShaderSubclassDraw : Magnum : : GL : : AbstractShaderProgram {
struct ShaderSubclassDraw : Magnum : : GL : : AbstractShaderProgram {
MAGNUM_GL_ABSTRACTSHADERPROGRAM_SUBCLASS_DRAW_IMPLEMENTATION ( ShaderSubclassDraw )
MAGNUM_GL_ABSTRACTSHADERPROGRAM_SUBCLASS_DRAW_IMPLEMENTATION ( ShaderSubclassDraw )
} ;
} ;
@ -1332,9 +1327,6 @@ namespace {
MAGNUM_GL_ABSTRACTSHADERPROGRAM_SUBCLASS_DISPATCH_IMPLEMENTATION ( ShaderSubclassDispatch )
MAGNUM_GL_ABSTRACTSHADERPROGRAM_SUBCLASS_DISPATCH_IMPLEMENTATION ( ShaderSubclassDispatch )
} ;
} ;
# endif
# endif
# ifdef CORRADE_TARGET_CLANG
# pragma GCC diagnostic pop
# endif
}
}
namespace Magnum { namespace GL { namespace Test { namespace {
namespace Magnum { namespace GL { namespace Test { namespace {
@ -1350,7 +1342,7 @@ void AbstractShaderProgramGLTest::subclassDraw() {
Mesh meshNoInstances ;
Mesh meshNoInstances ;
meshNoInstances
meshNoInstances
. setInstanceCount ( 0 ) ;
. setInstanceCount ( 0 ) ;
Mesh meshViewNoInstances ;
MeshView meshViewNoInstances { mesh } ;
meshViewNoInstances
meshViewNoInstances
. setInstanceCount ( 0 ) ;
. setInstanceCount ( 0 ) ;
# ifndef MAGNUM_TARGET_GLES
# ifndef MAGNUM_TARGET_GLES