diff options
author | Steve Kondik <shade@chemlab.org> | 2013-04-04 17:24:56 -0700 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-04-04 17:26:13 -0700 |
commit | c422280a7668ddbe1c4e399b083ec3d8a04059b1 (patch) | |
tree | 82c01d05de993bb4d92b937ce4f5d5447e4a73db /libs | |
parent | b345f69e856c0dab1e4b9409a6b1922d114c2f54 (diff) | |
download | frameworks_base-c422280a7668ddbe1c4e399b083ec3d8a04059b1.zip frameworks_base-c422280a7668ddbe1c4e399b083ec3d8a04059b1.tar.gz frameworks_base-c422280a7668ddbe1c4e399b083ec3d8a04059b1.tar.bz2 |
hwui: This code should only be enabled with QCOM_BSP
* Crashy crashy!
Change-Id: I1a06ac54a8ce2dccbf4a67424b0cbb6e7dd21e8b
Diffstat (limited to 'libs')
-rwxr-xr-x | libs/hwui/OpenGLRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index d8bf85c..cf04be2 100755 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -208,7 +208,7 @@ status_t OpenGLRenderer::prepareDirty(float left, float top, float right, float } status_t OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) { -#ifdef QCOM_HARDWARE +#ifdef QCOM_BSP mCaches.enableScissor(); mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top); glClear(GL_COLOR_BUFFER_BIT); |