mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 05:21:16 +00:00
gles: look for libGLESv2.so.2
Distros do not have the .so files at all times, because those are counted as development and not runtime.
This commit is contained in:
parent
0e809b2aa1
commit
742e538223
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue