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:
gregory.hainaut@gmail.com 2011-01-10 17:45:16 +00:00
parent 3a99988612
commit 90eda53e42
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }