GL: Fix fallback when glDrawRangeElementsBaseVertex is absent

This commit is contained in:
wheremyfoodat 2024-10-23 22:21:33 +03:00
parent 7b1afc849e
commit 66940cab38
3 changed files with 8 additions and 10 deletions

View file

@ -6,8 +6,6 @@ namespace OpenGL {
struct Driver {
bool supportsExtFbFetch = false;
bool supportsArmFbFetch = false;
// Does this driver support glDraw(Range)ElementsBaseVertex?
bool supportsDrawElementsBaseVertex = false;
bool supportFbFetch() const { return supportsExtFbFetch || supportsArmFbFetch; }
};