Browse Source

Don't use 0 as null pointer constant.

pull/279/head
Vladimír Vondruš 14 years ago
parent
commit
fed3f9351f
  1. 4
      src/Query.cpp

4
src/Query.cpp

@ -63,7 +63,7 @@ void Query::end() {
glEndQuery(static_cast<GLenum>(*target)); glEndQuery(static_cast<GLenum>(*target));
delete target; delete target;
target = 0; target = nullptr;
} }
void SampleQuery::begin(SampleQuery::Target target) { void SampleQuery::begin(SampleQuery::Target target) {
@ -76,7 +76,7 @@ void SampleQuery::end() {
glEndQuery(static_cast<GLenum>(*target)); glEndQuery(static_cast<GLenum>(*target));
delete target; delete target;
target = 0; target = nullptr;
} }
} }

Loading…
Cancel
Save