~ 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()) {
|
if (x > getWidth() || y > getHeight()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
lockSharedMemory();
|
//lockSharedMemory();
|
||||||
auto reg = getRegisters();
|
auto reg = getRegisters();
|
||||||
const int bitsPerPixel = 8;
|
const int bitsPerPixel = 8;
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ namespace vkvm {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unlockSharedMemory();
|
//unlockSharedMemory();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user