diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 79376ce0f28..b6318de6acd 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -324,16 +324,6 @@ dri2_get_shifts_and_sizes(const __DRIcoreExtension *core, core->getConfigAttrib(config, __DRI_ATTRIB_ALPHA_SIZE, &sizes[3]); } -void -dri2_get_render_type_float(const __DRIcoreExtension *core, - const __DRIconfig *config, bool *is_float) -{ - unsigned int render_type; - - core->getConfigAttrib(config, __DRI_ATTRIB_RENDER_TYPE, &render_type); - *is_float = (render_type & __DRI_ATTRIB_FLOAT_BIT) ? true : false; -} - enum pipe_format dri2_image_format_for_pbuffer_config(struct dri2_egl_display *dri2_dpy, const __DRIconfig *config) diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index b1fe50493e9..53d1688a190 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -504,10 +504,6 @@ dri2_get_shifts_and_sizes(const __DRIcoreExtension *core, const __DRIconfig *config, int *shifts, unsigned int *sizes); -void -dri2_get_render_type_float(const __DRIcoreExtension *core, - const __DRIconfig *config, bool *is_float); - enum pipe_format dri2_image_format_for_pbuffer_config(struct dri2_egl_display *dri2_dpy, const __DRIconfig *config);