You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Fix drawing of viewports without swapping buffers
This commit is contained in:
@@ -103,8 +103,9 @@ void RendererCompositorRD::begin_frame(double frame_step) {
|
||||
}
|
||||
|
||||
void RendererCompositorRD::end_frame(bool p_swap_buffers) {
|
||||
// TODO: Likely pass a bool to swap buffers to avoid display?
|
||||
RD::get_singleton()->swap_buffers();
|
||||
if (p_swap_buffers) {
|
||||
RD::get_singleton()->swap_buffers();
|
||||
}
|
||||
}
|
||||
|
||||
void RendererCompositorRD::initialize() {
|
||||
|
||||
Reference in New Issue
Block a user