Skip to content

Commit

Permalink
Allow the use of dark background
Browse files Browse the repository at this point in the history
Change-Id: I2c87851f3e0cb74a610d7f96ca41706d63657bf4
  • Loading branch information
ctso authored and hyperb1iss committed Jun 24, 2010
1 parent 9cca1ef commit 56e94ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/raw/nexus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ void initPulses() {
void drawBackground(int width, int height) {
bindProgramFragment(NAMED_PFTexture565);
if (State->background == 0) {
bindTexture(NAMED_PFTexture565, 0, NAMED_TBackground);
bindTexture(NAMED_PFTexture565, 0, NAMED_TBackground);
} else {
bindTexture(NAMED_PFTexture565, 0, NAMED_TBackgroundDark);
bindTexture(NAMED_PTTexture565, 0, NAMED_TBackgroundDark);
}
color(1.0f, 1.0f, 1.0f, 1.0f);
if (State->rotate) {
Expand Down

0 comments on commit 56e94ed

Please sign in to comment.