Fix RS graphics samples/tests.
Change-Id: Id5b586a9d9bead426eb46d79a93941893f0d4925
This commit is contained in:
@@ -184,7 +184,7 @@ static void drawOffscreenResult(int posX, int posY) {
|
||||
startX + width, startY, 0, 1, 1);
|
||||
}
|
||||
|
||||
int root(int launchID) {
|
||||
int root(void) {
|
||||
|
||||
rsgClearColor(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
rsgClearDepth(1.0f);
|
||||
|
||||
@@ -46,7 +46,7 @@ void init() {
|
||||
gRotate = 0.0f;
|
||||
}
|
||||
|
||||
int root(int launchID) {
|
||||
int root(void) {
|
||||
|
||||
gGroup->transforms[1].w += 0.5f;
|
||||
gGroup->isDirty = 1;
|
||||
|
||||
@@ -130,7 +130,7 @@ void drawDescription() {
|
||||
rsgDrawText(gTextAlloc, 2 -left, height - 2 + bottom);
|
||||
}
|
||||
|
||||
int root(int launchID) {
|
||||
int root(void) {
|
||||
|
||||
rsgClearColor(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
rsgClearDepth(1.0f);
|
||||
|
||||
@@ -776,7 +776,7 @@ static void drawOffscreenResult(int posX, int posY, int width, int height) {
|
||||
startX + width, startY, 0, 1, 1);
|
||||
}
|
||||
|
||||
int root(int launchID) {
|
||||
int root(void) {
|
||||
|
||||
gRenderSurfaceW = rsgGetWidth();
|
||||
gRenderSurfaceH = rsgGetHeight();
|
||||
|
||||
@@ -35,7 +35,7 @@ void init() {
|
||||
|
||||
int textPos = 0;
|
||||
|
||||
int root(int launchID) {
|
||||
int root(void) {
|
||||
|
||||
rsgClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||
rsgClearDepth(1.0f);
|
||||
|
||||
Reference in New Issue
Block a user