diff --git a/src/Magnum/GL/Texture.h b/src/Magnum/GL/Texture.h index 20663ddcc..7320daa60 100644 --- a/src/Magnum/GL/Texture.h +++ b/src/Magnum/GL/Texture.h @@ -724,7 +724,7 @@ template class Texture: public AbstractTexture { return *this; } - #ifndef MAGNUM_TARGET_GLES2 + #if !defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_WEBGL) /** * @brief Image size in given mip level *