Skip to content

Commit 912b15d

Browse files
fix a few pointer typos
1 parent da60a7b commit 912b15d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/nbl/video/CGPUMeshPackerV2.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ class CGPUMeshPackerV2 final : public IMeshPackerV2<video::IGPUBuffer,video::IGP
3737
{}
3838

3939
CGPUMeshPackerV2(video::IVideoDriver* driver, const asset::CCPUMeshPackerV2<MDIStructType>* cpuMP)
40-
:IMeshPackerV2<video::IGPUBuffer,video::IGPUMeshBuffer,MDIStructType>(cpuMP.m_allocParams, cpuMP.m_minTriangleCountPerMDIData, cpuMP.m_maxTriangleCountPerMDIData),
40+
:IMeshPackerV2<video::IGPUBuffer,video::IGPUMeshBuffer,MDIStructType>(cpuMP->m_allocParams,cpuMP->m_minTriangleCountPerMDIData,cpuMP->m_maxTriangleCountPerMDIData),
4141
m_driver(driver)
4242
{
43-
m_virtualAttribConfig = cpuMP.m_virtualAttribConfig;
43+
m_virtualAttribConfig = cpuMP->m_virtualAttribConfig;
4444

45-
auto& cpuMDIBuff = cpuMP.m_packerDataStore.MDIDataBuffer;
46-
auto& cpuIdxBuff = cpuMP.m_packerDataStore.indexBuffer;
47-
auto& cpuVtxBuff = cpuMP.m_packerDataStore.vertexBuffer;
45+
auto& cpuMDIBuff = cpuMP->m_packerDataStore.MDIDataBuffer;
46+
auto& cpuIdxBuff = cpuMP->m_packerDataStore.indexBuffer;
47+
auto& cpuVtxBuff = cpuMP->m_packerDataStore.vertexBuffer;
4848

4949
// TODO: why are the allocators not copied!?
5050

0 commit comments

Comments
 (0)