summaryrefslogtreecommitdiff
path: root/src/render/Framebuffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Framebuffer.hpp')
-rw-r--r--src/render/Framebuffer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render/Framebuffer.hpp b/src/render/Framebuffer.hpp
index 6dbedfee..e6c93876 100644
--- a/src/render/Framebuffer.hpp
+++ b/src/render/Framebuffer.hpp
@@ -3,13 +3,14 @@
#include "../defines.hpp"
#include "../helpers/Format.hpp"
#include "Texture.hpp"
+#include <drm_fourcc.h>
class CFramebuffer {
public:
CFramebuffer();
~CFramebuffer();
- bool alloc(int w, int h, uint32_t format = GL_RGBA);
+ bool alloc(int w, int h, uint32_t format = DRM_FORMAT_ARGB8888);
void addStencil(SP<CTexture> tex);
void bind();
void unbind();