Get first renders working with accelerated draws

This commit is contained in:
wheremyfoodat 2024-08-25 17:14:19 +03:00
parent 33e63f7d7a
commit 5432a5a0d8
6 changed files with 63 additions and 78 deletions

View file

@ -62,6 +62,7 @@ class RendererGL final : public Renderer {
bool oldDepthmapEnable = false;
// Set by prepareDraw, tells us whether the current draw is using hw-accelerated shader
bool usingAcceleratedShader = false;
bool performIndexedRender = false;
// Cached pointer to the current vertex shader when using HW accelerated shaders
OpenGL::Shader* generatedVertexShader = nullptr;