renderer: properly pass 10-bit formats to opengl

This commit is contained in:
Vaxry 2023-10-30 15:56:02 +00:00
parent a1924ae435
commit 4b592d0819
7 changed files with 33 additions and 13 deletions

View file

@ -7,7 +7,7 @@ class CFramebuffer {
public:
~CFramebuffer();
bool alloc(int w, int h);
bool alloc(int w, int h, uint32_t format = GL_RGBA);
void bind();
void release();
void reset();