mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- make it compile again.
This commit is contained in:
parent
17a4ddd51e
commit
9a4c07db27
1 changed files with 3 additions and 3 deletions
|
@ -514,21 +514,21 @@ inline int QRandom2(int a1)
|
|||
template<class T>
|
||||
inline void SetBitString(T *pArray, int nIndex)
|
||||
{
|
||||
static_assert(sizeof(T) == 1);
|
||||
static_assert(sizeof(T) == 1, "");
|
||||
pArray[nIndex>>3] |= 1<<(nIndex&7);
|
||||
}
|
||||
|
||||
template<class T>
|
||||
inline void ClearBitString(T *pArray, int nIndex)
|
||||
{
|
||||
static_assert(sizeof(T) == 1);
|
||||
static_assert(sizeof(T) == 1, "");
|
||||
pArray[nIndex >> 3] &= ~(1 << (nIndex & 7));
|
||||
}
|
||||
|
||||
template<class T>
|
||||
inline char TestBitString(T *pArray, int nIndex)
|
||||
{
|
||||
static_assert(sizeof(T) == 1);
|
||||
static_assert(sizeof(T) == 1, "");
|
||||
return pArray[nIndex>>3] & (1<<(nIndex&7));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue