Skip to content

Commit a537535

Browse files
committed
[example48] fix begin flag bug + small change
1 parent 2312633 commit a537535

File tree

1 file changed

+1
-1
lines changed
  • examples_tests/48.ArithmeticUnitTest

1 file changed

+1
-1
lines changed

examples_tests/48.ArithmeticUnitTest/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class ArythmeticUnitTestApp : public NonGraphicalApplicationBase
380380
assert(mreq.memoryTypeBits);
381381
// (Erfan to Cyprian) We usually don't use the return value (SMemoryOffset) of the allocate function but make sure you set it to some variable named bufferMem or something so we know it's there
382382
auto bufferMem = logicalDevice->allocate(mreq, buffers[i].get());
383-
assert(bufferMem.isValid())
383+
assert(bufferMem.isValid());
384384

385385
IDeviceMemoryAllocation::MappedMemoryRange mem;
386386
mem.memory = buffers[i]->getBoundMemory();

0 commit comments

Comments
 (0)