Browse Source

GCC 4.5 compatibility: more {}-related issues.

This time only on ES2. Thanks, Jenkins!
Vladimír Vondruš 11 years ago
parent
commit
845c794992
  1. 3
      src/Magnum/AbstractFramebuffer.cpp

3
src/Magnum/AbstractFramebuffer.cpp

@ -161,7 +161,8 @@ FramebufferTarget AbstractFramebuffer::bindImplementationSingle() {
glBindFramebuffer(GL_FRAMEBUFFER, _id); glBindFramebuffer(GL_FRAMEBUFFER, _id);
} }
return FramebufferTarget{}; /* GCC 4.5 doesn't like {} here */
return FramebufferTarget();
} }
#endif #endif

Loading…
Cancel
Save