Internal change
PiperOrigin-RevId: 477887963
This commit is contained in:
parent
382158298b
commit
133c3b3c00
|
@ -185,7 +185,10 @@ void GlTextureBuffer::Updated(std::shared_ptr<GlSyncPoint> prod_token) {
|
|||
<< "Updated existing texture which had not been marked for reuse!";
|
||||
CHECK(prod_token);
|
||||
producer_sync_ = std::move(prod_token);
|
||||
producer_context_ = producer_sync_->GetContext();
|
||||
const auto& synced_context = producer_sync_->GetContext();
|
||||
if (synced_context) {
|
||||
producer_context_ = synced_context;
|
||||
}
|
||||
}
|
||||
|
||||
void GlTextureBuffer::DidRead(std::shared_ptr<GlSyncPoint> cons_token) const {
|
||||
|
|
Loading…
Reference in New Issue
Block a user