diff options
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r-- | source/blender/src/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index 61b1e32a876..49005c32252 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -187,7 +187,7 @@ int set_gl_material_attribs(int nr, GPUVertexAttribs *attribs) Material *mat = gpumatbuf[nr]; if(mat) { - GPU_material_from_blender(mat); + GPU_material_from_blender(G.scene, mat); if(mat->gpumaterial) { GPU_material_vertex_attributes(mat->gpumaterial, attribs); |