|
|
@ -116,6 +116,8 @@ bool CVertexArrayRangeNVidia::allocate(uint32 size, CVertexBuffer::TPreferredM
|
|
|
|
else
|
|
|
|
else
|
|
|
|
_VertexArrayPtr= nwglAllocateMemoryNV(size, 0, 0, 0.5f);
|
|
|
|
_VertexArrayPtr= nwglAllocateMemoryNV(size, 0, 0, 0.5f);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#elif defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
|
|
|
#elif defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
|
|
|
switch(vbType)
|
|
|
|
switch(vbType)
|
|
|
@ -129,6 +131,8 @@ bool CVertexArrayRangeNVidia::allocate(uint32 size, CVertexBuffer::TPreferredM
|
|
|
|
else
|
|
|
|
else
|
|
|
|
_VertexArrayPtr= nglXAllocateMemoryNV(size, 0, 0, 0.5f);
|
|
|
|
_VertexArrayPtr= nglXAllocateMemoryNV(size, 0, 0, 0.5f);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif // NL_OS_WINDOWS
|
|
|
|
#endif // NL_OS_WINDOWS
|
|
|
|
|
|
|
|
|
|
|
|