Browse Source

NULL -> 0

rdb 15 years ago
parent
commit
926f4e5b30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glstuff/glGraphicsBuffer_src.cxx

+ 1 - 1
panda/src/glstuff/glGraphicsBuffer_src.cxx

@@ -634,7 +634,7 @@ bind_slot(bool rb_resize, Texture **attach, RenderTexturePlane slot, GLenum atta
           // This is the uber-tricky case, where we DON'T want to bind a depth buffer
           // This is the uber-tricky case, where we DON'T want to bind a depth buffer
           // if there's already any form of depth_stencil buffer bound (because depth_stencil
           // if there's already any form of depth_stencil buffer bound (because depth_stencil
           // is a superset that includes depth).
           // is a superset that includes depth).
-          if (( _rb[RTP_depth_stencil] != NULL ) || ( attach[RTP_depth_stencil] != NULL )) {
+          if (( _rb[RTP_depth_stencil] != 0 ) || ( attach[RTP_depth_stencil] != NULL )) {
             return;
             return;
           }
           }