Fix glUniform called from glBegin/glEnd blocks
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 2 Sep 2016 14:17:20 +0000 (16:17 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 5 Sep 2016 08:14:07 +0000 (10:14 +0200)
commit3b52c4056aafe8267feb45b934e02d5047bb8179
tree713418cfb48d6609a7557a40bee8951f02d50bcf
parent062732905ae52855d26884378de029e49bc68fec
Fix glUniform called from glBegin/glEnd blocks

Was causing some invalid operations in OpenGL.

After more testing should be fine for 2.78.
source/blender/blenkernel/BKE_DerivedMesh.h
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/editderivedmesh.c
source/blender/blenkernel/intern/subsurf_ccg.c