summaryrefslogtreecommitdiff
path: root/src/render/Framebuffer.hpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2023-10-30 15:56:02 +0000
committerVaxry <vaxry@vaxry.net>2023-10-30 15:56:16 +0000
commit4b592d0819e2f4563d59e6cbb2c3c236ec8f23af (patch)
tree0224cb3f7e1ff4c72c2030d103af35500bc9aed4 /src/render/Framebuffer.hpp
parenta1924ae4356657a06e43e740f1cf2e1634fa958d (diff)
renderer: properly pass 10-bit formats to opengl
Diffstat (limited to 'src/render/Framebuffer.hpp')
-rw-r--r--src/render/Framebuffer.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Framebuffer.hpp b/src/render/Framebuffer.hpp
index 9ba3ac05..73b70431 100644
--- a/src/render/Framebuffer.hpp
+++ b/src/render/Framebuffer.hpp
@@ -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();