gobj: Fix tex not being cleared initially with gl-immutable-texture-storage
Regression as of494631ac54andbfe595f4dc(#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…
Reference in New Issue