mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
hgl: traverse add-on entries
* Allow using symlinks to add-ons when developing.
This commit is contained in:
parent
03e237e9f2
commit
13e42fc025
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue