Skip to content

Commit

Permalink
Fix QCOM_BSP ifdef
Browse files Browse the repository at this point in the history
Change-Id: Ibeee2edadcf03b92f31cf3af3c0be0e2e0af023d
  • Loading branch information
mikeNG authored and intervigilium committed Jun 30, 2014
1 parent f2b2273 commit c556a0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/gui/Surface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,9 @@ int Surface::queueBuffer(android_native_buffer_t* buffer, int fenceFd) {
&numPendingBuffers);

mConsumerRunningBehind = (numPendingBuffers >= 2);
#ifdef QCOM_BSP
mDirtyRect.clear();
#endif
return err;
}

Expand Down

0 comments on commit c556a0e

Please sign in to comment.