Optionally expose time to screen shaders (#1700)
* Optionally expose time to screen shaders Since that collides with damage tracking, it will only be done, when damage tracking is disabled, meaning this comes at no cost for everyone not using time. * Rename m_Timer to m_tGlobalTimer
This commit is contained in:
parent
dc7d783d14
commit
de5f1b2a83
3 changed files with 23 additions and 2 deletions
|
|
@ -37,6 +37,8 @@ class CShader {
|
|||
GLint gradientLength;
|
||||
GLint angle;
|
||||
|
||||
GLint time;
|
||||
|
||||
GLint getUniformLocation(const std::string&);
|
||||
|
||||
void destroy();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue