mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
~ quick and dirty fix for composite color not being the right value (need to verify that this is actually what should happen)
fixes @C0nvert's #59 issue Signed-off-by: Alexis Maiquez <almamu@almamu.com>
This commit is contained in:
parent
42b8c92c1c
commit
131801b7f0
@ -469,6 +469,8 @@ void CPass::setupUniforms ()
|
||||
this->addUniform ("g_UserAlpha", this->m_material->getImage ()->getImage ()->getAlpha ());
|
||||
this->addUniform ("g_Alpha", this->m_material->getImage ()->getImage ()->getAlpha ());
|
||||
this->addUniform ("g_Color", this->m_material->getImage ()->getImage ()->getColor ());
|
||||
// TODO: VALIDATE THAT G_COMPOSITECOLOR REALLY COMES FROM THIS ONE
|
||||
this->addUniform ("g_CompositeColor", this->m_material->getImage ()->getImage ()->getColor ());
|
||||
// add some external variables
|
||||
this->addUniform ("g_Time", &g_Time);
|
||||
// add model-view-projection matrix
|
||||
|
Loading…
Reference in New Issue
Block a user