Browse Source

Properly initialize AbstractFramebuffer::blit() implementation on WebGL 2.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
41ed9c9e0f
  1. 4
      src/Magnum/Implementation/FramebufferState.cpp

4
src/Magnum/Implementation/FramebufferState.cpp

@ -276,8 +276,8 @@ FramebufferState::FramebufferState(Context& context, std::vector<std::string>& e
} else blitImplementation = nullptr;
/* Always available on ES3 */
#elif !defined(MAGNUM_TARGET_WEBGL)
/* Always available on ES3 and WebGL 2 */
#elif !defined(MAGNUM_TARGET_GLES2)
blitImplementation = &AbstractFramebuffer::blitImplementationDefault;
#endif

Loading…
Cancel
Save