[core] Fix crash on Qt + Windows + ANGLE

Support for VAO extensions is broken.
This commit is contained in:
Thiago Marcos P. Santos
2017-11-23 14:47:29 -02:00
parent 01565e5a8b
commit 43d96cd1b9

View File

@@ -289,8 +289,13 @@ private:
std::vector<RenderbufferID> abandonedRenderbuffers;
public:
// For testing
// For testing and Windows because Qt + ANGLE
// crashes with VAO enabled.
#if defined(_WINDOWS)
bool disableVAOExtension = true;
#else
bool disableVAOExtension = false;
#endif
};
} // namespace gl