diff options
author | Thales Lima <thaleslima.ufu@gmail.com> | 2017-10-25 19:17:00 -0200 |
---|---|---|
committer | Thales Lima <thaleslima.ufu@gmail.com> | 2017-10-25 19:17:00 -0200 |
commit | 7043bf93567689f3b1304cc998c1fb09b7e0e357 (patch) | |
tree | 4d6ca5dd407d0f729e7413ddd62d26b25beabfca /Project/TransferFunction.cpp | |
parent | c53fc819fe6dfe15dc3083b71e0161a68c8b32b5 (diff) | |
download | PSP.git-7043bf93567689f3b1304cc998c1fb09b7e0e357.tar.gz PSP.git-7043bf93567689f3b1304cc998c1fb09b7e0e357.tar.xz PSP.git-7043bf93567689f3b1304cc998c1fb09b7e0e357.zip |
Fixed textures bug on linux
Diffstat (limited to 'Project/TransferFunction.cpp')
-rw-r--r-- | Project/TransferFunction.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Project/TransferFunction.cpp b/Project/TransferFunction.cpp index c932608..e4c8a4e 100644 --- a/Project/TransferFunction.cpp +++ b/Project/TransferFunction.cpp @@ -373,3 +373,11 @@ Element* TransferFunction::GetCopy() copy->m_glTextDen = m_glTextDen->GetCopy(); return copy; } + +bool TransferFunction::UpdateText() +{ + UpdateTFText(); + if(!m_glTextDen->IsTextureOK()) return false; + if(!m_glTextNum->IsTextureOK()) return false; + return true; +} |