Fix RS graphics samples/tests.

Change-Id: Id5b586a9d9bead426eb46d79a93941893f0d4925
This commit is contained in:
Stephen Hines
2011-04-27 18:25:49 -07:00
parent 0d846898ba
commit b994ed33c5
5 changed files with 5 additions and 5 deletions

View File

@@ -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);

View File

@@ -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;

View File

@@ -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);

View File

@@ -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();

View File

@@ -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);