[core] Fix crash on Qt + Windows + ANGLE
Support for VAO extensions is broken.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user