diff --git a/plugins/zzogl-pg/opengl/ZZoglCreate.cpp b/plugins/zzogl-pg/opengl/ZZoglCreate.cpp index d2dd520174..6b949a0bf8 100644 --- a/plugins/zzogl-pg/opengl/ZZoglCreate.cpp +++ b/plugins/zzogl-pg/opengl/ZZoglCreate.cpp @@ -396,6 +396,7 @@ inline bool CreateFillExtensionsMap() ZZLog::Error_Log("glGetStringi opengl 3 interface not supported, fallback to opengl 2"); 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; @@ -419,7 +420,6 @@ inline bool CreateFillExtensionsMap() ptoken = pend; while (*ptoken == ' ') ++ptoken; } - all_ext = string(ptoken); }