fix build

This commit is contained in:
HifiExperiments 2021-03-17 20:24:16 -07:00
parent 5fd4f215f1
commit 15ba6c8637
2 changed files with 2 additions and 2 deletions

View file

@ -715,7 +715,7 @@ public:
void resetTextureOperator(std::function<gpu::TexturePointer()> textureOperator);
bool isDefined() const;
std::function<gpu::TexturePointer()> TextureSource::getTextureOperator() const { return _gpuTextureOperator; }
std::function<gpu::TexturePointer()> getTextureOperator() const { return _gpuTextureOperator; }
protected:
gpu::TexturePointer _gpuTexture;

View file

@ -122,7 +122,7 @@ bool ReferenceMaterial::isReady() const {
QString ReferenceMaterial::getProceduralString() const {
auto material = getMaterial();
return material ? material->getProceduralString() : false;
return material ? material->getProceduralString() : QString();
}
glm::vec4 ReferenceMaterial::getColor(const glm::vec4& color) const {