1 | diff --git a/mythtv/libs/libmythui/mythrender_opengl.cpp b/mythtv/libs/libmythui/mythrender_opengl.cpp |
---|
2 | index a77f727..10a9999 100644 |
---|
3 | --- a/mythtv/libs/libmythui/mythrender_opengl.cpp |
---|
4 | +++ b/mythtv/libs/libmythui/mythrender_opengl.cpp |
---|
5 | @@ -1,3 +1,4 @@ |
---|
6 | +#include <QLibrary> |
---|
7 | #include <algorithm> |
---|
8 | using namespace std; |
---|
9 | |
---|
10 | @@ -796,6 +797,9 @@ void* MythRenderOpenGL::GetProcAddress(const QString &proc) const |
---|
11 | void *result; |
---|
12 | for (int i = 0; i < 4; i++) |
---|
13 | { |
---|
14 | + result = QLibrary::resolve("libGLESv2", (proc + exts[i]).toLatin1().data()); |
---|
15 | + if (result) |
---|
16 | + break; |
---|
17 | result = getProcAddress(proc + exts[i]); |
---|
18 | if (result) |
---|
19 | break; |
---|