1
0
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:
PT_Dreamer 2012-07-31 12:18:05 +01:00
parent f5a2591d81
commit 1f7b95805e

View File

@ -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";