mirror of
https://github.com/love2d/love.git
synced 2026-08-19 04:06:17 +02:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user