Start work on GL state manager object

This commit is contained in:
wheremyfoodat 2023-07-04 23:26:18 +03:00
parent ee49f89779
commit b403e9a66e
8 changed files with 95 additions and 11 deletions

View file

@ -81,7 +81,7 @@ class GPU {
// Set to false by the renderer when the lighting_lut is uploaded ot the GPU
bool lightingLUTDirty = false;
GPU(Memory& mem);
GPU(Memory& mem, GLStateManager& gl);
void initGraphicsContext() { renderer.initGraphicsContext(); }
void getGraphicsContext() { renderer.getGraphicsContext(); }
void display() { renderer.display(); }