mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 13:38:00 +00:00
Add Device::Tick for periodic work
This commit is contained in:
committed by
Corentin Wallez
parent
b947993e1a
commit
dbb5729e64
@@ -205,6 +205,8 @@ namespace wire {
|
||||
}
|
||||
|
||||
const uint8_t* HandleCommands(const uint8_t* commands, size_t size) override {
|
||||
procs.deviceTick(knownDevice.Get(1)->handle);
|
||||
|
||||
while (size > sizeof(WireCmd)) {
|
||||
WireCmd cmdId = *reinterpret_cast<const WireCmd*>(commands);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user