Browse Source

Fixed compilation on Emscripten (and probably NaCl).

pull/87/merge
Vladimír Vondruš 11 years ago
parent
commit
b1e496657e
  1. 3
      src/Magnum/AbstractFramebuffer.cpp

3
src/Magnum/AbstractFramebuffer.cpp

@ -417,8 +417,7 @@ void AbstractFramebuffer::readImplementationRobustness(const Range2Di& rectangle
#elif !defined(CORRADE_TARGET_EMSCRIPTEN) && !defined(CORRADE_TARGET_NACL)
glReadnPixelsEXT(rectangle.min().x(), rectangle.min().y(), rectangle.sizeX(), rectangle.sizeY(), GLenum(format), GLenum(type), dataSize, data);
#else
static_cast<void>(offset);
static_cast<void>(size);
static_cast<void>(rectangle);
static_cast<void>(format);
static_cast<void>(type);
static_cast<void>(dataSize);

Loading…
Cancel
Save