Browse Source

GL: and this is misplaced also.

pull/427/merge
Vladimír Vondruš 6 years ago
parent
commit
7c0b7ad426
  1. 2
      src/Magnum/GL/AbstractQuery.cpp

2
src/Magnum/GL/AbstractQuery.cpp

@ -49,7 +49,6 @@ AbstractQuery::~AbstractQuery() {
#else
glDeleteQueriesEXT(1, &_id);
#endif
_flags |= ObjectFlag::Created;
}
void AbstractQuery::createImplementationDefault() {
@ -63,6 +62,7 @@ void AbstractQuery::createImplementationDefault() {
#ifndef MAGNUM_TARGET_GLES
void AbstractQuery::createImplementationDSA() {
glCreateQueries(_target, 1, &_id);
_flags |= ObjectFlag::Created;
}
void AbstractQuery::createImplementationDSAExceptXfbOverflow() {

Loading…
Cancel
Save