~ remove locking when setting pixel

This commit is contained in:
Johannes Theiner 2019-12-05 11:46:07 +01:00
parent 868682e9d9
commit 7701e7893a
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ namespace vkvm {
if (x > getWidth() || y > getHeight()) {
return false;
}
lockSharedMemory();
//lockSharedMemory();
auto reg = getRegisters();
const int bitsPerPixel = 8;
@ -111,7 +111,7 @@ namespace vkvm {
break;
}
}
unlockSharedMemory();
//unlockSharedMemory();
return true;
}