Skip to content

Commit

Permalink
Reverted sky change
Browse files Browse the repository at this point in the history
  • Loading branch information
sauraen committed Jun 11, 2024
1 parent 7dcc5db commit cb8e6ff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/code/z_play.c
Original file line number Diff line number Diff line change
Expand Up @@ -1245,9 +1245,7 @@ void Play_Draw(PlayState* this) {

{
// Only clear the FB if there is no skybox or it is solid color
// s32 clearFB = this->skyboxId == SKYBOX_NONE || this->skyboxId == SKYBOX_UNSET_1D ||
// this->envCtx.skyboxDisabled;
const s32 clearFB = 1;
s32 clearFB = this->skyboxId == SKYBOX_NONE || this->skyboxId == SKYBOX_UNSET_1D || this->envCtx.skyboxDisabled;

// For no skybox, black background
u8 clearR = 0;
Expand Down

0 comments on commit cb8e6ff

Please sign in to comment.