OpenGL: use PRIM instead of GL enum everywhere else
authorMike Erwin <significant.bit@gmail.com>
Sat, 8 Apr 2017 04:50:36 +0000 (00:50 -0400)
committerMike Erwin <significant.bit@gmail.com>
Sat, 8 Apr 2017 05:19:48 +0000 (01:19 -0400)
commit0947c97fade7a5400e22d85b1f61c5a0f552976a
tree181186c3c31706c3e0c813b62990c9186e2fc6f6
parent1de61696fd2ffc9d800a2eff964045b90c9f2347
OpenGL: use PRIM instead of GL enum everywhere else

Well, everywhere that uses Gawain for drawing. Places that call OpenGL directly still use GL enums.

Part of T49043
source/blender/blenkernel/intern/mesh_render.c
source/blender/draw/intern/draw_cache.c
source/blender/draw/intern/draw_manager.c
source/blender/editors/interface/interface_draw.c
source/blender/editors/space_view3d/drawarmature.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/uvedit/uvedit_smart_stitch.c
source/blender/gpu/intern/gpu_batch.c
source/blender/gpu/intern/gpu_compositing.c
source/blender/windowmanager/manipulators/intern/wm_manipulator.c