dri: unexport drm_format_for_depth()

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-04-22 20:03:39 +02:00
parent 3356690d35
commit 468e331cc9
2 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,4 @@ typedef struct dri3_screen_info {
extern _X_EXPORT Bool extern _X_EXPORT Bool
dri3_screen_init(ScreenPtr screen, const dri3_screen_info_rec *info); dri3_screen_init(ScreenPtr screen, const dri3_screen_info_rec *info);
extern _X_EXPORT uint32_t
drm_format_for_depth(uint32_t depth, uint32_t bpp);
#endif /* _DRI3_H_ */ #endif /* _DRI3_H_ */

View File

@ -118,4 +118,7 @@ dri3_import_syncobj(ClientPtr client, ScreenPtr screen, XID id, int fd);
int int
dri3_send_open_reply(ClientPtr client, int fd); dri3_send_open_reply(ClientPtr client, int fd);
uint32_t
drm_format_for_depth(uint32_t depth, uint32_t bpp);
#endif /* _DRI3PRIV_H_ */ #endif /* _DRI3PRIV_H_ */