Fixed incorrect value for opengl version.

This commit is contained in:
hiker 2014-09-18 12:55:30 +10:00
parent e7096bc3b0
commit 2e42898f4a

View File

@ -58,7 +58,7 @@ void reportHardwareStats()
json.add("GL_SHADING_LANGUAGE_VERSION", version);
std::string vendor, renderer, full_version;
irr_driver->getOpenGLData(&vendor, &renderer, &version);
irr_driver->getOpenGLData(&vendor, &renderer, &full_version);
json.add("GL_VENDOR", vendor );
json.add("GL_RENDERER", renderer );
json.add("GL_VERSION", full_version );