Work around macOS flicker bug;

At this point I don't know if maybe I'm just using UBOs wrong but whatever.
This commit is contained in:
bjorn 2019-05-27 19:05:47 -07:00
parent 4221c547d7
commit 29b2420dea
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ static const uint32_t BUFFER_COUNTS[] = {
[STREAM_VERTEX] = (1 << 16) - 1,
[STREAM_INDEX] = 1 << 16,
[STREAM_DRAW_ID] = (1 << 16) - 1,
#ifdef LOVR_WEBGL // Temporarily work around bug where big UBOs don't work
#if defined(LOVR_WEBGL) || defined(__APPLE__) // Work around bugs where big UBOs don't work
[STREAM_TRANSFORM] = MAX_DRAWS,
[STREAM_COLOR] = MAX_DRAWS
#else