mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 14:59:14 +02:00
removed unneeded cast
This commit is contained in:
parent
6a2bab2a2c
commit
d6428a8145
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ VoxelSystem::VoxelSystem(float treeScale, int maxVoxels) :
|
||||||
pthread_mutex_init(&_bufferWriteLock, NULL);
|
pthread_mutex_init(&_bufferWriteLock, NULL);
|
||||||
pthread_mutex_init(&_treeLock, NULL);
|
pthread_mutex_init(&_treeLock, NULL);
|
||||||
|
|
||||||
_hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, (void*)this);
|
_hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, this);
|
||||||
_abandonedVBOSlots = 0;
|
_abandonedVBOSlots = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ VoxelNodeBag::VoxelNodeBag() :
|
||||||
_bagElements(NULL),
|
_bagElements(NULL),
|
||||||
_elementsInUse(0),
|
_elementsInUse(0),
|
||||||
_sizeOfElementsArray(0) {
|
_sizeOfElementsArray(0) {
|
||||||
_hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, (void*)this);
|
_hookID = VoxelNode::addDeleteHook(voxelNodeDeleteHook, this);
|
||||||
};
|
};
|
||||||
|
|
||||||
VoxelNodeBag::~VoxelNodeBag() {
|
VoxelNodeBag::~VoxelNodeBag() {
|
||||||
|
|
Loading…
Reference in a new issue