Fix compilation error
parent
0eaf3a9ac4
commit
0ad53cc0d8
|
@ -125,8 +125,7 @@ bool AreExtensionsSupported(std::string list)
|
||||||
if (version < 30)
|
if (version < 30)
|
||||||
{
|
{
|
||||||
const char* text = reinterpret_cast<const char*>(glGetString(GL_EXTENSIONS));
|
const char* text = reinterpret_cast<const char*>(glGetString(GL_EXTENSIONS));
|
||||||
|
std::stringstream stream(text);
|
||||||
stream = std::stringstream(text);
|
|
||||||
|
|
||||||
while (!extensions.empty())
|
while (!extensions.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue