Showing the changes to interface/src/VoxelSystem.cpp (1 of 2 files). Show all
Unified · Split
| @@ -59,7 +59,7 @@ VoxelSystem::VoxelSystem(float treeScale, int maxVoxels) : · 58 unmodified lines | |||
| 59 | pthread_mutex_init(&_bufferWriteLock, NULL); | 59 | pthread_mutex_init(&_bufferWriteLock, NULL); |
| 60 | pthread_mutex_init(&_treeLock, NULL); | 60 | pthread_mutex_init(&_treeLock, NULL); |
| 61 | 61 | ||
| 62 | _hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, (void*)this); | 62 | _hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, this); |
| 63 | _abandonedVBOSlots = 0; | 63 | _abandonedVBOSlots = 0; |
| 64 | } | 64 | } |
| 65 | 65 | ||