diff options
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/gles2.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h index 00ee34fb..067bdd31 100644 --- a/include/render/gles2.h +++ b/include/render/gles2.h @@ -107,11 +107,10 @@ struct wlr_gles2_texture { bool has_alpha; // Only affects target == GL_TEXTURE_2D - enum wl_shm_format wl_format; // used to interpret upload data + uint32_t drm_format; // used to interpret upload data }; -const struct wlr_gles2_pixel_format *get_gles2_format_from_wl( - enum wl_shm_format fmt); +const struct wlr_gles2_pixel_format *get_gles2_format_from_drm(uint32_t fmt); const struct wlr_gles2_pixel_format *get_gles2_format_from_gl( GLint gl_format, GLint gl_type, bool alpha); const enum wl_shm_format *get_gles2_wl_formats(size_t *len); |