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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user