Skip to content

Commit

Permalink
Use QLibrary to find libGLESv2 for ARM
Browse files Browse the repository at this point in the history
Please let us know if this causes regressions in other GLES setups.

Fixes #10292

Signed-off-by: Gavin Hurlbut <ghurlbut@mythtv.org>
  • Loading branch information
jflatt authored and Beirdo committed Jul 17, 2012
1 parent 98f7305 commit 8211f9d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mythtv/libs/libmythui/mythrender_opengl.cpp
@@ -1,3 +1,4 @@
#include <QLibrary>
#include <algorithm>
using namespace std;

Expand Down Expand Up @@ -796,6 +797,9 @@ void* MythRenderOpenGL::GetProcAddress(const QString &proc) const
void *result;
for (int i = 0; i < 4; i++)
{
result = QLibrary::resolve("libGLESv2", (proc + exts[i]).toLatin1().data());
if (result)
break;
result = getProcAddress(proc + exts[i]);
if (result)
break;
Expand Down

0 comments on commit 8211f9d

Please sign in to comment.