renderer: properly pass 10-bit formats to opengl
This commit is contained in:
parent
a1924ae435
commit
4b592d0819
7 changed files with 33 additions and 13 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue