Merge "Fix bug in synchronization code for Vulkan WebView"
This commit is contained in:
committed by
Android (Google) Code Review
commit
47c46569ae
@@ -46,7 +46,7 @@ public:
|
||||
ScopedDrawRequest() { beginDraw(); }
|
||||
private:
|
||||
void beginDraw() {
|
||||
std::lock_guard{sLock};
|
||||
std::lock_guard _lock{sLock};
|
||||
|
||||
if (!sGLDrawThread) {
|
||||
sGLDrawThread = new ThreadBase{};
|
||||
|
||||
Reference in New Issue
Block a user