projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
303e05c
)
radeon: Explain to the user what went wrong when built without libdrm.
author
Eric Anholt
<eric@anholt.net>
Wed, 3 Aug 2011 23:36:42 +0000
(16:36 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 16 Aug 2011 00:54:27 +0000
(17:54 -0700)
Before this commit, even LIBGL_DEBUG=verbose would just fail with:
libGL error: failed to create dri screen
src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
b/src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
index
607b747
..
a74c6c7
100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
+++ b/
src/mesa/drivers/dri/radeon/radeon_bocs_wrapper.h
@@
-78,6
+78,9
@@
static inline uint32_t radeon_gem_name_bo(struct radeon_bo *dummy)
static inline void *radeon_bo_manager_gem_ctor(int fd)
{
+ fprintf(stderr, "[%s:%u] Mesa built without Radeon libdrm support.\n",
+ __func__, __LINE__);
+
return NULL;
}
@@
-87,6
+90,9
@@
static inline void radeon_bo_manager_gem_dtor(void *dummy)
static inline void *radeon_cs_manager_gem_ctor(int fd)
{
+ fprintf(stderr, "[%s:%u] Mesa built without Radeon libdrm support.\n",
+ __func__, __LINE__);
+
return NULL;
}