mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 21:05:50 +12:00
[OpenGL renderer] Fewer uniform uploads
This commit is contained in:
parent
3e18281a99
commit
c282a44c27
2 changed files with 18 additions and 43 deletions
|
@ -23,8 +23,6 @@ class Renderer {
|
|||
|
||||
OpenGL::VertexArray vao;
|
||||
OpenGL::VertexBuffer vbo;
|
||||
GLint alphaControlLoc = -1;
|
||||
GLint texUnitConfigLoc = -1;
|
||||
|
||||
// TEV configuration uniform locations
|
||||
GLint textureEnvSourceLoc = -1;
|
||||
|
@ -41,9 +39,6 @@ class Renderer {
|
|||
GLint depthScaleLoc = -1;
|
||||
GLint depthmapEnableLoc = -1;
|
||||
|
||||
u32 oldAlphaControl = 0;
|
||||
u32 oldTexUnitConfig = 0;
|
||||
|
||||
float oldDepthScale = -1.0;
|
||||
float oldDepthOffset = 0.0;
|
||||
bool oldDepthmapEnable = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue