Browse Source

Fixed compilation of tests on Clang.

pull/51/head
Vladimír Vondruš 13 years ago
parent
commit
ddc7fba391
  1. 6
      src/Query.h

6
src/Query.h

@ -193,6 +193,8 @@ class PrimitiveQuery: public AbstractQuery {
TransformFeedbackPrimitivesWritten = GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN TransformFeedbackPrimitivesWritten = GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
}; };
explicit PrimitiveQuery() {}
/** /**
* @brief Begin query * @brief Begin query
* *
@ -319,6 +321,8 @@ class SampleQuery: public AbstractQuery {
}; };
#endif #endif
explicit SampleQuery() {}
/** @copydoc PrimitiveQuery::begin() */ /** @copydoc PrimitiveQuery::begin() */
void begin(Target target) { void begin(Target target) {
AbstractQuery::begin(GLenum(target)); AbstractQuery::begin(GLenum(target));
@ -403,6 +407,8 @@ class TimeQuery: public AbstractQuery {
#endif #endif
}; };
explicit TimeQuery() {}
/** /**
* @brief Query timestamp * @brief Query timestamp
* *

Loading…
Cancel
Save