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 */
|
||||
const char **ext = reqExt;
|
||||
for (int i = 0; ext[i]; ++i)
|
||||
for (int i = 0; reqExt[i]; ++i)
|
||||
{
|
||||
if (!glewIsSupported(ext[i]))
|
||||
if (!glewIsSupported(reqExt[i]))
|
||||
{
|
||||
threadData->rgssErrorMsg =
|
||||
QByteArray("Required GL extension \"") + ext[i] + "\" not present";
|
||||
QByteArray("Required GL extension \"") + reqExt[i] + "\" not present";
|
||||
threadData->ethread->requestTerminate();
|
||||
threadData->rqTermAck = true;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue