mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-17 13:03:48 -07:00
renderer: Make shader time always count from zero (#6903)
* testing out an initialtime variable * Make time universally start at zero instead of exposing an initial time * Appease the CI
This commit is contained in:
@@ -42,9 +42,10 @@ class CShader {
|
||||
GLint gradientLength = -1;
|
||||
GLint angle = -1;
|
||||
|
||||
GLint time = -1;
|
||||
GLint distort = -1;
|
||||
GLint wl_output = -1;
|
||||
float initialTime = 0;
|
||||
GLint time = -1;
|
||||
GLint distort = -1;
|
||||
GLint wl_output = -1;
|
||||
|
||||
// Blur prepare
|
||||
GLint contrast = -1;
|
||||
@@ -64,4 +65,4 @@ class CShader {
|
||||
|
||||
private:
|
||||
std::unordered_map<std::string, GLint> m_muUniforms;
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user