mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
GCS-Added Hyper's fix to glc crashes under certain systems.
This commit is contained in:
parent
f5a2591d81
commit
1f7b95805e
@ -63,7 +63,7 @@ bool glc::loadGlSlExtension()
|
||||
bool glc::loadPointSpriteExtension()
|
||||
{
|
||||
bool result= true;
|
||||
#if !defined(Q_OS_MAC)
|
||||
#if !defined(Q_OS_MAC) && !defined(Q_OS_LINUX)
|
||||
const QGLContext* pContext= QGLContext::currentContext();
|
||||
glPointParameterf = (PFNGLPOINTPARAMETERFARBPROC)pContext->getProcAddress(QLatin1String("glPointParameterf"));
|
||||
if (!glPointParameterf) qDebug() << "not glPointParameterf";
|
||||
|
Loading…
x
Reference in New Issue
Block a user