mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-07-04 06:16:20 +12:00
GL: Add fallback for when driver doesn't provide glDrawRangeElementsBaseVertex
This commit is contained in:
parent
8c80099339
commit
7b1afc849e
3 changed files with 47 additions and 6 deletions
|
@ -6,6 +6,8 @@ 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; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue