summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrien Destugues <pulkomandy@gmail.com>2014-12-09 21:38:46 +0000
committerAlexander von Gluck IV <kallisti5@unixzen.com>2014-12-10 14:01:01 +0000
commit13e42fc025682bbead23012ec29499fb1502bea4 (patch)
tree9c55cf045c4055ee97e49a10b91590f84c2895c8 /src
parent03e237e9f2edb99120fb4bdab2c7bfd211848dc0 (diff)
downloadexternal_mesa3d-13e42fc025682bbead23012ec29499fb1502bea4.zip
external_mesa3d-13e42fc025682bbead23012ec29499fb1502bea4.tar.gz
external_mesa3d-13e42fc025682bbead23012ec29499fb1502bea4.tar.bz2
hgl: traverse add-on entries
* Allow using symlinks to add-ons when developing.
Diffstat (limited to 'src')
-rw-r--r--src/hgl/GLRendererRoster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hgl/GLRendererRoster.cpp b/src/hgl/GLRendererRoster.cpp
index d29f7ec..9e5d847 100644
--- a/src/hgl/GLRendererRoster.cpp
+++ b/src/hgl/GLRendererRoster.cpp
@@ -144,7 +144,7 @@ GLRendererRoster::AddPath(const char* path)
entry_ref ref;
BEntry entry;
while (directory.GetNextRef(&ref) == B_OK) {
- entry.SetTo(&ref);
+ entry.SetTo(&ref, true);
if (entry.InitCheck() == B_OK && !entry.IsFile())
continue;
@@ -187,7 +187,7 @@ GLRendererRoster::AddRenderer(BGLRenderer* renderer,
status_t
GLRendererRoster::CreateRenderer(const entry_ref& ref)
{
- BEntry entry(&ref);
+ BEntry entry(&ref, true);
node_ref nodeRef;
status_t status = entry.GetNodeRef(&nodeRef);
if (status < B_OK)