Fix T65383 UI graphics glitches on macOS with Intel HD 4000
authorClément Foucault <foucault.clem@gmail.com>
Thu, 6 Jun 2019 15:21:12 +0000 (17:21 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 6 Jun 2019 15:21:22 +0000 (17:21 +0200)
commit2be3a75efd9b60cac64980bb83003a7370c3bd08
tree1ba47bcb6d883482634dfb8542cce66ade069359
parent2239dca7e9359ad0b1b8abe5fbbdefaeb85b480f
Fix T65383 UI graphics glitches on macOS with Intel HD 4000

glDrawArrays is not supposed to be affected by primitive restart
but osx drivers never cease to surprise me.
source/blender/gpu/intern/gpu_batch.c
source/blender/gpu/intern/gpu_immediate.c