Remove unnecessary variable
This commit is contained in:
parent
774c9b7c8a
commit
c2585660b7
|
@ -84,13 +84,12 @@ int rgssThreadFun(void *userdata)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check for required GL extensions */
|
/* Check for required GL extensions */
|
||||||
const char **ext = reqExt;
|
for (int i = 0; reqExt[i]; ++i)
|
||||||
for (int i = 0; ext[i]; ++i)
|
|
||||||
{
|
{
|
||||||
if (!glewIsSupported(ext[i]))
|
if (!glewIsSupported(reqExt[i]))
|
||||||
{
|
{
|
||||||
threadData->rgssErrorMsg =
|
threadData->rgssErrorMsg =
|
||||||
QByteArray("Required GL extension \"") + ext[i] + "\" not present";
|
QByteArray("Required GL extension \"") + reqExt[i] + "\" not present";
|
||||||
threadData->ethread->requestTerminate();
|
threadData->ethread->requestTerminate();
|
||||||
threadData->rqTermAck = true;
|
threadData->rqTermAck = true;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue