Fall back to glTexImage instead of glTexStorage on Radeon 3xxx drivers on Windows. Potentially works around a graphics driver bug which prevented text from showing up.

This commit is contained in:
Alex Szpakowski
2018-12-25 18:33:26 -04:00
parent ebe98a91ec
commit 1c853cbcc3
2 changed files with 26 additions and 1 deletions
+10
View File
@@ -159,6 +159,16 @@ public:
**/
bool clientWaitSyncStalls;
/**
* glTexStorage on some older AMD/ATI graphics drivers on Windows seems
* to break subsequent sub-rectangle glTexSubImage calls after an
* initial full-size one (determined after some investigation with an
* affected user on Discord.)
* https://bitbucket.org/rude/love/issues/1436/bug-with-lovegraphicsprint-on-older-ati
*
**/
bool texStorageBreaksSubImage;
/**
* Other bugs which have workarounds that don't use conditional code at
* the moment: