mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
gobj: Fix tex not being cleared initially with gl-immutable-texture-storage
Regression as of 494631ac54e8b5bd2cf72f4ffe44b1c565b62b6e and bfe595f4dcfbbd8964b3ee52394ca0988fa7107b (#1168)
This commit is contained in:
parent
ee1db0630a
commit
b018d65da9
@ -265,6 +265,9 @@ set_clear_color(const LColor &color) {
|
||||
CDWriter cdata(_cycler, true);
|
||||
cdata->_clear_color = color;
|
||||
cdata->_has_clear_color = true;
|
||||
if (cdata->_image_modified == UpdateSeq::initial()) {
|
||||
cdata->inc_image_modified();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user