Switching allapps to use Mesh instead of SimpleMesh.
Change-Id: I678525439341d54e6841df3df2d7ab0c67c0b266
diff --git a/res/raw/allapps.rs b/res/raw/allapps.rs
index 1465308..aaf7c10 100644
--- a/res/raw/allapps.rs
+++ b/res/raw/allapps.rs
@@ -305,7 +305,7 @@
vpConstants->ImgSize.y = rsAllocationGetDimY(gSelectedIconTexture);
vpConstants->Position.y = y - (rsAllocationGetDimY(gSelectedIconTexture)
- rsAllocationGetDimY(gIconIDs[iconNum])) * 0.5f;
- rsgDrawSimpleMesh(gSMCell);
+ rsgDrawMesh(gSMCell);
}
rsgBindProgramFragment(gPFTexMip);
@@ -313,14 +313,14 @@
vpConstants->ImgSize.y = rsAllocationGetDimY(gIconIDs[iconNum]);
vpConstants->Position.y = y - 0.2f;
rsgBindTexture(gPFTexMip, 0, gIconIDs[iconNum]);
- rsgDrawSimpleMesh(gSMCell);
+ rsgDrawMesh(gSMCell);
rsgBindProgramFragment(gPFTexMipAlpha);
vpConstants->ImgSize.x = rsAllocationGetDimX(gLabelIDs[iconNum]);
vpConstants->ImgSize.y = rsAllocationGetDimY(gLabelIDs[iconNum]);
vpConstants->Position.y = y - 64.f - 0.2f;
rsgBindTexture(gPFTexMipAlpha, 0, gLabelIDs[iconNum]);
- rsgDrawSimpleMesh(gSMCell);
+ rsgDrawMesh(gSMCell);
}
iconNum++;
}