render/gles2: convert format table to DRM formats

This commit is contained in:
Simon Ser 2021-02-16 19:12:04 +01:00
parent 5d6d76c61f
commit fab396f149
4 changed files with 15 additions and 11 deletions

View file

@ -15,7 +15,7 @@
#include <wlr/util/log.h>
struct wlr_gles2_pixel_format {
enum wl_shm_format wl_format;
uint32_t drm_format;
GLint gl_format, gl_type;
int depth, bpp;
bool has_alpha;