Fix comparison between pointer and an integer

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@701 0420edf4-82e4-42fc-9478-35b55e6d67a3
master
cazfi 2018-03-19 15:59:51 +00:00
parent ca6eba4f84
commit b584b18a62
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ void quadsquare::Render(const quadcornerdata& cd, GLubyte *vnc_array) {
}
for (std::size_t j=0; j<numTerrains; j++) {
if (Course.TerrList[j].texture > 0) {
if (Course.TerrList[j].texture != nullptr) {
Course.TerrList[j].texture->Bind();
for (GLuint i=0; i<VertexArrayCounter; i++) {