diff options
author | 2017-12-01 13:22:27 +0100 | |
---|---|---|
committer | 2017-12-01 13:22:27 +0100 | |
commit | 39176274946d70ff520f265dee8fbd16d5fe0000 (patch) | |
tree | 318801d93146752050c9a492654ae3738820e3b9 /3rdparty/bx/tests/queue_test.cpp | |
parent | 6829ecb3b037d6bfbe0b84e818d17d712f71bce6 (diff) |
Updated GENie, BGFX, BX, added BIMG since it is separated now, updated all shader binaries and MAME part of code to support new interfaces [Miodrag Milanovic]
Diffstat (limited to '3rdparty/bx/tests/queue_test.cpp')
-rw-r--r-- | 3rdparty/bx/tests/queue_test.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/3rdparty/bx/tests/queue_test.cpp b/3rdparty/bx/tests/queue_test.cpp index 48fd270a274..81a2b44e676 100644 --- a/3rdparty/bx/tests/queue_test.cpp +++ b/3rdparty/bx/tests/queue_test.cpp @@ -21,14 +21,16 @@ uintptr_t ptrToBits(void* _ptr) TEST_CASE("SpSc", "") { - bx::SpScUnboundedQueue queue; + bx::DefaultAllocator allocator; + bx::SpScUnboundedQueue queue(&allocator); queue.push(bitsToPtr(0xdeadbeef) ); REQUIRE(0xdeadbeef == ptrToBits(queue.pop() ) ); } TEST_CASE("MpSc", "") { - bx::MpScUnboundedQueueT<void> queue; + bx::DefaultAllocator allocator; + bx::MpScUnboundedQueueT<void> queue(&allocator); queue.push(bitsToPtr(0xdeadbeef) ); REQUIRE(0xdeadbeef == ptrToBits(queue.pop() ) ); } |