mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-21 12:59:14 +12:00
Fix control flow analysis bug
This commit is contained in:
parent
0e7697dc67
commit
e332ab2e58
6 changed files with 54 additions and 14 deletions
|
@ -70,6 +70,9 @@ class RendererGL final : public Renderer {
|
|||
GLuint maximumIndex = 0;
|
||||
void* hwIndexBufferOffset = nullptr;
|
||||
|
||||
// When doing hw shaders, we cache which attributes are enabled in our VAO to avoid having to enable/disable all attributes on each draw
|
||||
u32 previousAttributeMask = 0;
|
||||
|
||||
// Cached pointer to the current vertex shader when using HW accelerated shaders
|
||||
OpenGL::Shader* generatedVertexShader = nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue