Fix compilation error
parent
0eaf3a9ac4
commit
0ad53cc0d8
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue