From 4b592d0819e2f4563d59e6cbb2c3c236ec8f23af Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 30 Oct 2023 15:56:02 +0000 Subject: renderer: properly pass 10-bit formats to opengl --- src/render/Framebuffer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/Framebuffer.hpp') 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(); -- cgit v1.2.3