diff options
author | Jason Sams <rjsams@android.com> | 2010-08-13 12:18:01 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2010-08-13 12:18:36 -0700 |
commit | f0d03e4e7fd8640b6b50e163c4f555d03b874ca6 (patch) | |
tree | 45ad8323bc1e70ce7f097ca2eb9252e7bd662420 /src/com/android/launcher2/allapps.rs | |
parent | c28de51eedb26848abf9245ddd19e021d30be318 (diff) | |
download | android_packages_apps_Trebuchet-f0d03e4e7fd8640b6b50e163c4f555d03b874ca6.tar.gz android_packages_apps_Trebuchet-f0d03e4e7fd8640b6b50e163c4f555d03b874ca6.tar.bz2 android_packages_apps_Trebuchet-f0d03e4e7fd8640b6b50e163c4f555d03b874ca6.zip |
Use RS API for checking isNull.
Change-Id: I840c2ac3d0fe478595f2a558b52a79886097c5b5
Diffstat (limited to 'src/com/android/launcher2/allapps.rs')
-rw-r--r-- | src/com/android/launcher2/allapps.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/allapps.rs b/src/com/android/launcher2/allapps.rs index 64c99dbc5..b07e1fe8a 100644 --- a/src/com/android/launcher2/allapps.rs +++ b/src/com/android/launcher2/allapps.rs @@ -293,7 +293,7 @@ static void drawFrontGrid(float rowOffset, float p) float x = colWidth * col + (colWidth / 2); vpConstants->Position.x = x + 0.2f; - if (gSelectedIconIndex == iconNum && !p && gSelectedIconTexture.p) { + if (gSelectedIconIndex == iconNum && !p && rsIsObject(gSelectedIconTexture)) { rsgBindProgramFragment(gPFTexNearest); rsgBindTexture(gPFTexNearest, 0, gSelectedIconTexture); vpConstants->ImgSize.x = rsAllocationGetDimX(gSelectedIconTexture); |