mirror of https://github.com/PCSX2/pcsx2.git
zzogl: print the full string of extensions...
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4197 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3a99988612
commit
90eda53e42
|
@ -396,6 +396,7 @@ inline bool CreateFillExtensionsMap()
|
||||||
ZZLog::Error_Log("glGetStringi opengl 3 interface not supported, fallback to opengl 2");
|
ZZLog::Error_Log("glGetStringi opengl 3 interface not supported, fallback to opengl 2");
|
||||||
|
|
||||||
const char* ptoken = (const char*)glGetString(GL_EXTENSIONS);
|
const char* ptoken = (const char*)glGetString(GL_EXTENSIONS);
|
||||||
|
all_ext = string(ptoken); // save the string to print a nice debug message
|
||||||
|
|
||||||
if (ptoken == NULL) return false;
|
if (ptoken == NULL) return false;
|
||||||
|
|
||||||
|
@ -419,7 +420,6 @@ inline bool CreateFillExtensionsMap()
|
||||||
ptoken = pend;
|
ptoken = pend;
|
||||||
while (*ptoken == ' ') ++ptoken;
|
while (*ptoken == ' ') ++ptoken;
|
||||||
}
|
}
|
||||||
all_ext = string(ptoken);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue