mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-20 10:25:43 +00:00
Work on MSAA support
This commit is contained in:
@@ -66,6 +66,16 @@ protected:
|
||||
}
|
||||
};
|
||||
|
||||
static inline uint32_t flp2(uint32_t x)
|
||||
{
|
||||
x = x | (x >> 1);
|
||||
x = x | (x >> 2);
|
||||
x = x | (x >> 4);
|
||||
x = x | (x >> 8);
|
||||
x = x | (x >> 16);
|
||||
return x - (x >> 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif // BOO_INTERNAL_COMMON_HPP
|
||||
|
||||
Reference in New Issue
Block a user