src/video/SDL_video.c
changeset 9931 0bb3dd1c95f2
parent 9924 355cccccc7dc
child 9958 687e118144c7
equal deleted inserted replaced
9930:84285c1d8ca4 9931:0bb3dd1c95f2
  1166             return -1;
  1166             return -1;
  1167         }
  1167         }
  1168         window->last_fullscreen_flags = window->flags;
  1168         window->last_fullscreen_flags = window->flags;
  1169         return 0;
  1169         return 0;
  1170     }
  1170     }
  1171 #elif __WINRT__
  1171 #elif __WINRT__ && (NTDDI_VERSION < NTDDI_WIN10)
  1172     /* HACK: WinRT 8.x apps can't choose whether or not they are fullscreen
  1172     /* HACK: WinRT 8.x apps can't choose whether or not they are fullscreen
  1173        or not.  The user can choose this, via OS-provided UI, but this can't
  1173        or not.  The user can choose this, via OS-provided UI, but this can't
  1174        be set programmatically.
  1174        be set programmatically.
  1175 
  1175 
  1176        Just look at what SDL's WinRT video backend code detected with regards
  1176        Just look at what SDL's WinRT video backend code detected with regards
  1403     if (_this->CreateWindow && _this->CreateWindow(_this, window) < 0) {
  1403     if (_this->CreateWindow && _this->CreateWindow(_this, window) < 0) {
  1404         SDL_DestroyWindow(window);
  1404         SDL_DestroyWindow(window);
  1405         return NULL;
  1405         return NULL;
  1406     }
  1406     }
  1407 
  1407 
  1408 #if __WINRT__
  1408 #if __WINRT__ && (NTDDI_VERSION < NTDDI_WIN10)
  1409     /* HACK: WinRT 8.x apps can't choose whether or not they are fullscreen
  1409     /* HACK: WinRT 8.x apps can't choose whether or not they are fullscreen
  1410        or not.  The user can choose this, via OS-provided UI, but this can't
  1410        or not.  The user can choose this, via OS-provided UI, but this can't
  1411        be set programmatically.
  1411        be set programmatically.
  1412 
  1412 
  1413        Just look at what SDL's WinRT video backend code detected with regards
  1413        Just look at what SDL's WinRT video backend code detected with regards