diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-07-16 17:22:28 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-07-16 18:12:03 +0300 |
commit | 3e3e7ee41c9c04ef1630eef46c71434d152c55dc (patch) | |
tree | 65ee42534511a7c0b29be372d5072529b8960396 /source/blender/gpu/intern/gpu_init_exit.c | |
parent | 6568b6d1cdcaf32487bbcd48b4d20da32954c6f5 (diff) |
Sculpt draw code:
Remove legacy code completely, now dyntopo, multires et al even work on
GL 1.1 for really hardcore users :p
Real purpose here though is to be able to have fast multires drawing
even with VBO off, since it requires using indices for vertex buffers.
Also made own code elf puke an eaten normal update function which
made multires not update normals in solid mode...sorry.
Diffstat (limited to 'source/blender/gpu/intern/gpu_init_exit.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_init_exit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_init_exit.c b/source/blender/gpu/intern/gpu_init_exit.c index aefddc774be..3a8a6fca23b 100644 --- a/source/blender/gpu/intern/gpu_init_exit.c +++ b/source/blender/gpu/intern/gpu_init_exit.c @@ -29,8 +29,11 @@ * \ingroup gpu */ +#include "BKE_DerivedMesh.h" + #include "BLI_sys_types.h" #include "GPU_init_exit.h" /* interface */ +#include "GPU_buffers.h" #include "BKE_global.h" @@ -70,6 +73,7 @@ void GPU_exit(void) gpu_codegen_exit(); gpu_extensions_exit(); /* must come last */ + GPU_buffer_multires_free(true); initialized = false; } |