These friends and the function are now pointless.

--HG--
branch : gsoc2013-dfighter
hg/feature/gsoc2013-dfighter
dfighter1985 11 years ago
parent 5c7540d85e
commit 28c49a0427

@ -1220,12 +1220,8 @@ private:
/// \name VertexBufferHard
// @{
CPtrSet<IVertexBufferHardGL> _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);
// @}

@ -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()

Loading…
Cancel
Save