GL3: Debug

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 11 years ago
parent 50dea16ee7
commit aab353672c

@ -331,6 +331,7 @@ CVertexBufferAMDPinned::CVertexBufferAMDPinned(CDriverGL3 *drv, uint size, uint
// Initialize // Initialize
// Align allocated to page size, which is assumed to be 4K // Align allocated to page size, which is assumed to be 4K
// nldebug("GL3: Allocate AMD Pinned Memory (%i bytes, %i vertices)", size, numVertices);
m_VertexPtrAllocated = new char[size + 4096]; m_VertexPtrAllocated = new char[size + 4096];
uintptr_t addr = (uintptr_t)m_VertexPtrAllocated; uintptr_t addr = (uintptr_t)m_VertexPtrAllocated;
addr = (addr + 4095) & (~0xfff); addr = (addr + 4095) & (~0xfff);

Loading…
Cancel
Save