1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Fix round preview getting square on "run scene" (issue 16734)

This commit is contained in:
poke1024
2018-02-28 20:23:40 +01:00
parent 3d03bcd063
commit 899f7b125e
3 changed files with 4 additions and 1 deletions

View File

@@ -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);