diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-03-26 23:10:29 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-03-26 23:10:44 +0300 |
commit | 56e0249489ce89954a54d5006ddf4147dd02e208 (patch) | |
tree | 11457e0f51ebfc2be718290da67637204c4621bf /intern | |
parent | afb1a64ccb81b7ed792f64151986f40f53af8da5 (diff) |
GPU: Add workaround for faulty default attrib values on some drivers
On some drivers, the default values is not respected correctly.
To workaround this we create a small VBO that contains only 1 vec4 worth of
data and just bind it using glBindVertexBuffer to ensure 0 stride.
This fixes T75069 Instances not rendered correctly by workbench.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions