mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-23 09:28:45 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
8c01cfc3ae
commit
5f2184ef6c
1 changed files with 4 additions and 0 deletions
|
@ -116,6 +116,8 @@ bool CVertexArrayRangeNVidia::allocate(uint32 size, CVertexBuffer::TPreferredM
|
|||
else
|
||||
_VertexArrayPtr= nwglAllocateMemoryNV(size, 0, 0, 0.5f);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#elif defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
|
||||
switch(vbType)
|
||||
|
@ -129,6 +131,8 @@ bool CVertexArrayRangeNVidia::allocate(uint32 size, CVertexBuffer::TPreferredM
|
|||
else
|
||||
_VertexArrayPtr= nglXAllocateMemoryNV(size, 0, 0, 0.5f);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
#endif // NL_OS_WINDOWS
|
||||
|
||||
|
|
Loading…
Reference in a new issue