renderer_opengl: Implement RGB565 framebuffer format

This commit is contained in:
ReinUsesLisp 2019-08-21 02:22:54 -03:00
parent 9cdf5c6c31
commit 80702aa88f
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,
};