Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting ClearColor doesn't work #13377

Closed
pietrosophya opened this issue May 15, 2024 · 0 comments · Fixed by #13378
Closed

Setting ClearColor doesn't work #13377

pietrosophya opened this issue May 15, 2024 · 0 comments · Fixed by #13378
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Milestone

Comments

@pietrosophya
Copy link
Contributor

pietrosophya commented May 15, 2024

Bevy version

Tested on the main branch

Relevant system information

Tested on

`AdapterInfo { name: "Apple M1 Pro", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }`

What you did

I run the clear_color example, and it shows always black, without changing to purple when pressing space.

I did some bisect, and it appeared for the first time after this.

@pietrosophya pietrosophya added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels May 15, 2024
@alice-i-cecile alice-i-cecile added this to the 0.14 milestone May 15, 2024
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels May 15, 2024
github-merge-queue bot pushed a commit that referenced this issue May 15, 2024
# Objective

- Fixes #13377
- Fixes #13383

## Solution

- Even if the number of renderables is empty, the transparent phase need
to run to set the clear color.

## Testing

- Tested on the `clear_color` example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants