Fix UWP build after #14622.
This commit is contained in:
parent
9b5275b135
commit
6f0a83b681
2 changed files with 4 additions and 4 deletions
|
@ -346,7 +346,7 @@ void RasterizerGLES2::set_boot_image(const Ref<Image> &p_image, const Color &p_c
|
||||||
|
|
||||||
if (OS::get_singleton()->is_layered_allowed()) {
|
if (OS::get_singleton()->is_layered_allowed()) {
|
||||||
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
||||||
#ifdef WINDOWS_ENABLED
|
#if (defined WINDOWS_ENABLED) && !(defined UWP_ENABLED)
|
||||||
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
||||||
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
||||||
if (data) {
|
if (data) {
|
||||||
|
@ -401,7 +401,7 @@ void RasterizerGLES2::end_frame(bool p_swap_buffers) {
|
||||||
|
|
||||||
if (OS::get_singleton()->is_layered_allowed()) {
|
if (OS::get_singleton()->is_layered_allowed()) {
|
||||||
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
||||||
#ifdef WINDOWS_ENABLED
|
#if (defined WINDOWS_ENABLED) && !(defined UWP_ENABLED)
|
||||||
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
||||||
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
||||||
if (data) {
|
if (data) {
|
||||||
|
|
|
@ -335,7 +335,7 @@ void RasterizerGLES3::set_boot_image(const Ref<Image> &p_image, const Color &p_c
|
||||||
|
|
||||||
if (OS::get_singleton()->is_layered_allowed()) {
|
if (OS::get_singleton()->is_layered_allowed()) {
|
||||||
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
||||||
#ifdef WINDOWS_ENABLED
|
#if (defined WINDOWS_ENABLED) && !(defined UWP_ENABLED)
|
||||||
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
||||||
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
||||||
if (data) {
|
if (data) {
|
||||||
|
@ -392,7 +392,7 @@ void RasterizerGLES3::end_frame(bool p_swap_buffers) {
|
||||||
|
|
||||||
if (OS::get_singleton()->is_layered_allowed()) {
|
if (OS::get_singleton()->is_layered_allowed()) {
|
||||||
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
if (OS::get_singleton()->get_window_per_pixel_transparency_enabled()) {
|
||||||
#ifdef WINDOWS_ENABLED
|
#if (defined WINDOWS_ENABLED) && !(defined UWP_ENABLED)
|
||||||
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
Size2 wndsize = OS::get_singleton()->get_layered_buffer_size();
|
||||||
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
|
||||||
if (data) {
|
if (data) {
|
||||||
|
|
Loading…
Reference in a new issue