Browse Source

Added some more Doxygen workarounds.

Forgotten in 3f891cfa7c.
pull/278/head
Vladimír Vondruš 13 years ago
parent
commit
a191e1287f
  1. 2
      src/BufferImage.cpp
  2. 2
      src/Image.cpp
  3. 2
      src/Query.cpp

2
src/BufferImage.cpp

@ -34,9 +34,11 @@ template<UnsignedInt dimensions> void BufferImage<dimensions>::setData(const typ
_buffer.setData(pixelSize(format, type)*size.product(), data, usage); _buffer.setData(pixelSize(format, type)*size.product(), data, usage);
} }
#ifndef DOXYGEN_GENERATING_OUTPUT
template class MAGNUM_EXPORT BufferImage<1>; template class MAGNUM_EXPORT BufferImage<1>;
template class MAGNUM_EXPORT BufferImage<2>; template class MAGNUM_EXPORT BufferImage<2>;
template class MAGNUM_EXPORT BufferImage<3>; template class MAGNUM_EXPORT BufferImage<3>;
#endif #endif
#endif
} }

2
src/Image.cpp

@ -34,8 +34,10 @@ template<UnsignedInt dimensions> void Image<dimensions>::setData(const typename
_data = reinterpret_cast<unsigned char*>(data); _data = reinterpret_cast<unsigned char*>(data);
} }
#ifndef DOXYGEN_GENERATING_OUTPUT
template class MAGNUM_EXPORT Image<1>; template class MAGNUM_EXPORT Image<1>;
template class MAGNUM_EXPORT Image<2>; template class MAGNUM_EXPORT Image<2>;
template class MAGNUM_EXPORT Image<3>; template class MAGNUM_EXPORT Image<3>;
#endif
} }

2
src/Query.cpp

@ -51,6 +51,7 @@ bool AbstractQuery::resultAvailable() {
#endif #endif
} }
#ifndef DOXYGEN_GENERATING_OUTPUT
template<> bool AbstractQuery::result<bool>() { template<> bool AbstractQuery::result<bool>() {
/** @todo Re-enable when extension wrangler is available for ES */ /** @todo Re-enable when extension wrangler is available for ES */
#ifndef MAGNUM_TARGET_GLES2 #ifndef MAGNUM_TARGET_GLES2
@ -92,6 +93,7 @@ template<> Long AbstractQuery::result<Long>() {
return result; return result;
} }
#endif #endif
#endif
#ifndef MAGNUM_TARGET_GLES2 #ifndef MAGNUM_TARGET_GLES2
Query::Query(): target(nullptr) {} Query::Query(): target(nullptr) {}

Loading…
Cancel
Save