Fix round preview getting square on "run scene" (issue 16734)
This commit is contained in:
@ -40,7 +40,7 @@
|
||||
#include "scene/resources/material.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
|
||||
static void post_process_preview(Ref<Image> p_image) {
|
||||
void post_process_preview(Ref<Image> p_image) {
|
||||
|
||||
if (p_image->get_format() != Image::FORMAT_RGBA8)
|
||||
p_image->convert(Image::FORMAT_RGBA8);
|
||||
|
||||
Reference in New Issue
Block a user