~ remove locking when setting pixel
This commit is contained in:
parent
868682e9d9
commit
7701e7893a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue