diff --git a/src/gl/gl3device.cpp b/src/gl/gl3device.cpp index e9ea6f3..45f83ef 100644 --- a/src/gl/gl3device.cpp +++ b/src/gl/gl3device.cpp @@ -1896,7 +1896,7 @@ termOpenGL(void) defaultShader_fullLight_noAT = nil; glDeleteTextures(1, &whitetex); - whitetex = nil; + whitetex = 0; return 1; }