Skip to content

Commit

Permalink
Updating the background color to white for the Java samples as well
Browse files Browse the repository at this point in the history
  • Loading branch information
bpurnomo committed Oct 25, 2013
1 parent 44cb2c1 commit 07ba428
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
mBaseMapTexId = loadTextureFromAsset ( "textures/basemap.png" );
mLightMapTexId = loadTextureFromAsset ( "textures/lightmap.png" );

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Store the program object
mProgramObject = programObject;

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Load the shaders and get a linked program object
mProgramObject = ESShader.loadProgram ( vShaderStr, fShaderStr );

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
mVBOIds[1] = 0;
mVBOIds[2] = 0;

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
mVBOIds[0] = 0;
mVBOIds[1] = 0;

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Reset to the default VAO
GLES30.glBindVertexArray ( 0 );

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
mVBOIds[0] = 0;
mVBOIds[1] = 0;

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Starting rotation angle for the cube
mAngle = 45.0f;

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

private void update()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Load the texture
mTextureId = createMipMappedTexture2D();

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Load the texture
mTextureId = createSimpleTexture2D ();

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

// /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Generate the vertex data
mSphere.genSphere ( 20, 0.75f );

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void onSurfaceCreated ( GL10 glUnused, EGLConfig config )
// Load the texture
mTextureId = createTexture2D ();

GLES30.glClearColor ( 0.0f, 0.0f, 0.0f, 0.0f );
GLES30.glClearColor ( 1.0f, 1.0f, 1.0f, 0.0f );
}

///
Expand Down

0 comments on commit 07ba428

Please sign in to comment.