VN System improved.
This commit is contained in:
@ -45,7 +45,7 @@ namespace Dawn {
|
||||
shaderparameter_t param,
|
||||
Texture *texture
|
||||
) override {
|
||||
if(texture == nullptr) {
|
||||
if(texture == nullptr || !texture->isReady()) {
|
||||
this->setBoolean(this->paramHasTexture, false);
|
||||
} else {
|
||||
this->setBoolean(this->paramHasTexture, true);
|
||||
|
Reference in New Issue
Block a user