mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-01 16:29:43 -05:00
Merge branch 'master' of github.com:OpenSpace/OpenSpace
This commit is contained in:
@@ -74,10 +74,16 @@ void GUIRenderHandler::draw() {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!isTextureReady()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (_programObject->isDirty()) {
|
||||
_programObject->rebuildFromFile();
|
||||
}
|
||||
|
||||
updateTexture();
|
||||
|
||||
glEnable(GL_BLEND);
|
||||
glBlendEquation(GL_FUNC_ADD);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
Reference in New Issue
Block a user