diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-19 17:14:43 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-19 17:14:43 +0300 |
commit | 62a03ea1b6ef84ac80e40ab092393214c6032b88 (patch) | |
tree | b77ebd05c5cceb6eb6d79db65b73f22780fcdd4a /source/blender/editors/space_view3d/drawmesh.c | |
parent | 63195b01794e42243b1bcac01de43eccaa89fade (diff) |
2.5
All of the view3d drawing code is now 'Context' free.
The idea is:
- ED_region_do_draw() sets and freezes drawing context
- regiontype draw() callback then can pass on other relevant
context stuff as function args.
Also cleaned up the WM opengl wrappers, to mimic opengl state;
no reason to give window pointer anymore.
Diffstat (limited to 'source/blender/editors/space_view3d/drawmesh.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawmesh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index 01740d2b3b4..a0a76bb6d15 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -51,7 +51,6 @@ #include "DNA_userdef_types.h" #include "BKE_bmfont.h" -#include "BKE_context.h" #include "BKE_displist.h" #include "BKE_DerivedMesh.h" #include "BKE_effect.h" |