renderer_opengl: Implement RGB565 framebuffer format

This commit is contained in:
ReinUsesLisp 2019-08-21 02:22:54 -03:00
parent c970b5bb4f
commit 73e1bc3348
3 changed files with 9 additions and 3 deletions

View file

@ -91,6 +91,7 @@ class DebugContext;
struct FramebufferConfig {
enum class PixelFormat : u32 {
ABGR8 = 1,
RGB565 = 4,
BGRA8 = 5,
};