Mesa (master): gbm: export gbm_device_is_format_supported
Emil Velikov
evelikov at kemper.freedesktop.org
Fri Feb 28 22:56:50 UTC 2014
Module: Mesa
Branch: master
Commit: 96f324e229d035e6b00e15c96b69a00999d1adcb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=96f324e229d035e6b00e15c96b69a00999d1adcb
Author: Marek Chalupa <mchqwerty at gmail.com>
Date: Thu Feb 27 09:23:21 2014 +0100
gbm: export gbm_device_is_format_supported
Probably depending on compiler settings, the definition can be hidden,
so undefined reference error can be encountred during linking.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75528
Reviewed-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/gbm/main/gbm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 7a4e406..b057386 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -81,7 +81,7 @@ gbm_device_get_backend_name(struct gbm_device *gbm)
*
* \sa enum gbm_bo_format for the list of formats
*/
-int
+GBM_EXPORT int
gbm_device_is_format_supported(struct gbm_device *gbm,
uint32_t format, uint32_t usage)
{
More information about the mesa-commit
mailing list