Skip to content

Commit

Permalink
gles: look for libGLESv2.so.2
Browse files Browse the repository at this point in the history
Distros do not have the .so files at all times, because those are
counted as development and not runtime.
  • Loading branch information
jengelh authored and madame-rachelle committed Sep 25, 2021
1 parent 0e809b2 commit 742e538
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common/rendering/gles/gles_system.cpp
Expand Up @@ -32,6 +32,10 @@ static void* LoadGLES2Proc(const char* name)
{
glesLib = dlopen("libGLESv2.so", flags);
}
if(!glesLib)
{
glesLib = dlopen("libGLESv2.so.2", flags);
}
}

void * ret = NULL;
Expand Down

0 comments on commit 742e538

Please sign in to comment.