From aab353672c3b27ee002f79c1449c1690ae68204d Mon Sep 17 00:00:00 2001 From: kaetemi Date: Thu, 5 Jun 2014 16:39:48 +0200 Subject: [PATCH] GL3: Debug --HG-- branch : opengl3 --- code/nel/src/3d/driver/opengl3/driver_opengl_vertex_buffer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/nel/src/3d/driver/opengl3/driver_opengl_vertex_buffer.cpp b/code/nel/src/3d/driver/opengl3/driver_opengl_vertex_buffer.cpp index 2d25dd928..c29c2e3eb 100644 --- a/code/nel/src/3d/driver/opengl3/driver_opengl_vertex_buffer.cpp +++ b/code/nel/src/3d/driver/opengl3/driver_opengl_vertex_buffer.cpp @@ -331,6 +331,7 @@ CVertexBufferAMDPinned::CVertexBufferAMDPinned(CDriverGL3 *drv, uint size, uint // Initialize // 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]; uintptr_t addr = (uintptr_t)m_VertexPtrAllocated; addr = (addr + 4095) & (~0xfff);