mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 13:03:06 +01:00
Fixed HandleList reset.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
* License: https://github.com/bkaradzic/bx#license-bsd-2-clause
|
||||
*/
|
||||
|
||||
#ifndef BX_SIMDX4_H_HEADER_GUARD
|
||||
#define BX_SIMDX4_H_HEADER_GUARD
|
||||
#ifndef BX_FLOAT4X4_H_HEADER_GUARD
|
||||
#define BX_FLOAT4X4_H_HEADER_GUARD
|
||||
|
||||
#include "simd_t.h"
|
||||
|
||||
@@ -155,4 +155,4 @@ namespace bx
|
||||
|
||||
} // namespace bx
|
||||
|
||||
#endif // BX_SIMDX4_H_HEADER_GUARD
|
||||
#endif // BX_FLOAT4X4_H_HEADER_GUARD
|
||||
|
||||
@@ -151,8 +151,6 @@ namespace bx
|
||||
static const uint16_t invalid = UINT16_MAX;
|
||||
|
||||
HandleListT()
|
||||
: m_front(invalid)
|
||||
, m_back(invalid)
|
||||
{
|
||||
reset();
|
||||
}
|
||||
@@ -250,6 +248,8 @@ namespace bx
|
||||
void reset()
|
||||
{
|
||||
memset(m_links, 0xff, sizeof(m_links) );
|
||||
m_front = invalid;
|
||||
m_back = invalid;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user