Fix comparison between pointer and an integer
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@701 0420edf4-82e4-42fc-9478-35b55e6d67a3master
parent
ca6eba4f84
commit
b584b18a62
|
@ -782,7 +782,7 @@ void quadsquare::Render(const quadcornerdata& cd, GLubyte *vnc_array) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (std::size_t j=0; j<numTerrains; j++) {
|
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();
|
Course.TerrList[j].texture->Bind();
|
||||||
|
|
||||||
for (GLuint i=0; i<VertexArrayCounter; i++) {
|
for (GLuint i=0; i<VertexArrayCounter; i++) {
|
||||||
|
|
Loading…
Reference in New Issue