mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:13:29 +02:00
fix build
This commit is contained in:
parent
5fd4f215f1
commit
15ba6c8637
2 changed files with 2 additions and 2 deletions
|
@ -715,7 +715,7 @@ public:
|
||||||
void resetTextureOperator(std::function<gpu::TexturePointer()> textureOperator);
|
void resetTextureOperator(std::function<gpu::TexturePointer()> textureOperator);
|
||||||
|
|
||||||
bool isDefined() const;
|
bool isDefined() const;
|
||||||
std::function<gpu::TexturePointer()> TextureSource::getTextureOperator() const { return _gpuTextureOperator; }
|
std::function<gpu::TexturePointer()> getTextureOperator() const { return _gpuTextureOperator; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
gpu::TexturePointer _gpuTexture;
|
gpu::TexturePointer _gpuTexture;
|
||||||
|
|
|
@ -122,7 +122,7 @@ bool ReferenceMaterial::isReady() const {
|
||||||
|
|
||||||
QString ReferenceMaterial::getProceduralString() const {
|
QString ReferenceMaterial::getProceduralString() const {
|
||||||
auto material = getMaterial();
|
auto material = getMaterial();
|
||||||
return material ? material->getProceduralString() : false;
|
return material ? material->getProceduralString() : QString();
|
||||||
}
|
}
|
||||||
|
|
||||||
glm::vec4 ReferenceMaterial::getColor(const glm::vec4& color) const {
|
glm::vec4 ReferenceMaterial::getColor(const glm::vec4& color) const {
|
||||||
|
|
Loading…
Reference in a new issue