Skip to content
Snippets Groups Projects
Commit e9a2087d authored by Niklas Haas's avatar Niklas Haas
Browse files

renderer: fix possible compute to non-storable fbo

The scaler code only checks whether or not the FBOFMT is storable,
but in the case of e.g. draw_overlays, we have to check the actual FBO
(provided by the user) instead.

Solve this by just checking both. (Note: In theory, if the FBO is
storable but FBOFMT is not, this would be a false negative. But
whatever.)
parent 3d70ce11
No related branches found
No related tags found
Loading
This commit is part of merge request !124. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment