Skip to content

Commit

Permalink
Fix UWP build after godotengine#14622.
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvzg authored and malcolmhoward committed Jul 31, 2018
1 parent ffc447f commit 807052d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/gles2/rasterizer_gles2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()->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();
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
if (data) {
Expand Down Expand Up @@ -401,7 +401,7 @@ void RasterizerGLES2::end_frame(bool p_swap_buffers) {

if (OS::get_singleton()->is_layered_allowed()) {
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();
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
if (data) {
Expand Down
4 changes: 2 additions & 2 deletions drivers/gles3/rasterizer_gles3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,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()->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();
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
if (data) {
Expand Down Expand Up @@ -383,7 +383,7 @@ void RasterizerGLES3::end_frame(bool p_swap_buffers) {

if (OS::get_singleton()->is_layered_allowed()) {
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();
uint8_t *data = OS::get_singleton()->get_layered_buffer_data();
if (data) {
Expand Down

0 comments on commit 807052d

Please sign in to comment.