mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-04 21:34:41 +00:00
Reload shaders on resolution change.
This commit is contained in:
parent
fa6ca8d60a
commit
69e25640fb
4 changed files with 58 additions and 21 deletions
|
@ -44,6 +44,7 @@ public:
|
|||
|
||||
protected:
|
||||
std::string vertFile, fragFile;
|
||||
std::string vertSrc, fragSrc;
|
||||
#ifdef BBGE_BUILD_OPENGL
|
||||
GLuint g_programObj;
|
||||
int numUniforms;
|
||||
|
@ -72,7 +73,7 @@ private:
|
|||
float f[4];
|
||||
};
|
||||
} data;
|
||||
char name[32];
|
||||
char name[64];
|
||||
|
||||
bool operator< (const Uniform&) const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue