diff options
author | Eric Engestrom <[email protected]> | 2018-05-17 16:16:34 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-05-24 18:01:45 +0100 |
commit | 473af0b541b2583f4c72ffe885cff5ec2660a45f (patch) | |
tree | 10bfcc2f6298f7c628092d0d75480106cb6f329c /src/egl/drivers/dri2/platform_x11_dri3.h | |
parent | 7b54404c9d66ed2c5348639014b09b05528c3144 (diff) |
egl/x11: deduplicate depth-to-format logic
Suggested-by: Emil Velikov <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2/platform_x11_dri3.h')
-rw-r--r-- | src/egl/drivers/dri2/platform_x11_dri3.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/platform_x11_dri3.h b/src/egl/drivers/dri2/platform_x11_dri3.h index 96e7ee972d9..e6fd0136697 100644 --- a/src/egl/drivers/dri2/platform_x11_dri3.h +++ b/src/egl/drivers/dri2/platform_x11_dri3.h @@ -38,4 +38,7 @@ extern struct dri2_egl_display_vtbl dri3_x11_display_vtbl; EGLBoolean dri3_x11_connect(struct dri2_egl_display *dri2_dpy); +uint32_t +dri2_format_for_depth(uint32_t depth); + #endif |