Fix compilation error

dev-time-step
Tomasz Kapuściński 2016-02-18 01:36:37 +01:00
parent 0eaf3a9ac4
commit 0ad53cc0d8
1 changed files with 1 additions and 2 deletions

View File

@ -125,8 +125,7 @@ bool AreExtensionsSupported(std::string list)
if (version < 30)
{
const char* text = reinterpret_cast<const char*>(glGetString(GL_EXTENSIONS));
stream = std::stringstream(text);
std::stringstream stream(text);
while (!extensions.empty())
{