Browse Source

gobj: Fix Texture::clear_clear_color()

rdb 10 months ago
parent
commit
99b3888712
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/gobj/texture.I

+ 1 - 1
panda/src/gobj/texture.I

@@ -278,7 +278,7 @@ set_clear_color(const LColor &color) {
 INLINE void Texture::
 clear_clear_color() {
   CDWriter cdata(_cycler, true);
-  cdata->_has_clear_color = true;
+  cdata->_has_clear_color = false;
 }
 
 /**