Skip to content

Commit

Permalink
Bug 1325511 - Mark as used sooner. r=mtseng
Browse files Browse the repository at this point in the history
  • Loading branch information
msreckovic committed Feb 7, 2017
1 parent cfc859a commit bfeae59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gfx/angle/src/libANGLE/renderer/d3d/d3d11/Buffer11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,7 @@ gl::ErrorOrResult<Buffer11::BufferStorage *> Buffer11::getBufferStorage(BufferUs
ANGLE_TRY(newStorage->resize(mSize, true));
}

mIdleness[usage] = 0;
ANGLE_TRY(updateBufferStorage(newStorage, 0, mSize));
ANGLE_TRY(markBufferUsage(usage));

Expand Down

0 comments on commit bfeae59

Please sign in to comment.