diff --git a/code/nel/src/3d/driver/OpenGL3/driver_opengl.h b/code/nel/src/3d/driver/OpenGL3/driver_opengl.h index 9cdc093b6..e9fb62fe8 100644 --- a/code/nel/src/3d/driver/OpenGL3/driver_opengl.h +++ b/code/nel/src/3d/driver/OpenGL3/driver_opengl.h @@ -1220,12 +1220,8 @@ private: /// \name VertexBufferHard // @{ CPtrSet _VertexBufferHardSet; - friend class CVertexArrayRangeATI; friend class CVertexArrayRangeARB; friend class CVertexBufferHardARB; - friend class CVertexBufferHardGLATI; - friend class CVertexArrayRangeMapObjectATI; - friend class CVertexBufferHardGLMapObjectATI; friend class CVBDrvInfosGL3; // The VertexArrayRange activated. @@ -1249,9 +1245,6 @@ private: void resetVertexArrayRange(); - void fenceOnCurVBHardIfNeeded(IVertexBufferHardGL *newVBHard); - - // @} diff --git a/code/nel/src/3d/driver/OpenGL3/driver_opengl_vertex.cpp b/code/nel/src/3d/driver/OpenGL3/driver_opengl_vertex.cpp index 35abae377..77cfdcb6e 100644 --- a/code/nel/src/3d/driver/OpenGL3/driver_opengl_vertex.cpp +++ b/code/nel/src/3d/driver/OpenGL3/driver_opengl_vertex.cpp @@ -213,9 +213,6 @@ bool CDriverGL3::activeVertexBuffer(CVertexBuffer& VB) } if (info->_VBHard == NULL) { - // Fence mgt. - fenceOnCurVBHardIfNeeded(NULL); - // Disable the current vertexBufferHard if setuped. if(_CurrentVertexBufferHard) _CurrentVertexBufferHard->disable(); @@ -225,9 +222,6 @@ bool CDriverGL3::activeVertexBuffer(CVertexBuffer& VB) // 2. Setup Arrays. //=================== - // Fence mgt. - fenceOnCurVBHardIfNeeded(info->_VBHard); - // Enable the vertexArrayRange of this array. info->_VBHard->enable(); } @@ -1742,12 +1736,6 @@ uint32 CDriverGL3::getAvailableVertexVRAMMemory () } -// *************************************************************************** -void CDriverGL3::fenceOnCurVBHardIfNeeded(IVertexBufferHardGL *newVBHard) -{ - H_AUTO_OGL(CDriverGL3_fenceOnCurVBHardIfNeeded); -} - // *************************************************************************** CIndexBufferInfo::CIndexBufferInfo()