Browse Source

GL: clean up rendundant ifdefs.

pull/255/head
Vladimír Vondruš 8 years ago
parent
commit
36461ce7ea
  1. 2
      src/Magnum/GL/Test/MeshGLTest.cpp

2
src/Magnum/GL/Test/MeshGLTest.cpp

@ -1485,10 +1485,8 @@ void MeshGLTest::addVertexBufferNormalized() {
#ifndef MAGNUM_TARGET_GLES
void MeshGLTest::addVertexBufferBGRA() {
#ifndef MAGNUM_TARGET_GLES
if(!Context::current().isExtensionSupported<Extensions::ARB::vertex_array_bgra>())
CORRADE_SKIP(Extensions::ARB::vertex_array_bgra::string() + std::string(" is not available."));
#endif
constexpr Color4ub data[] = { {}, {0, 128, 64, 161}, {96, 24, 156, 225} };
Buffer buffer;

Loading…
Cancel
Save