src/video/SDL_video.c
changeset 8879 f6e4f24df1ac
parent 8833 ae720d61d14d
child 8905 1519c462cee6
equal deleted inserted replaced
8878:f7ba2119fd91 8879:f6e4f24df1ac
  3257 #endif
  3257 #endif
  3258 #if SDL_VIDEO_DRIVER_X11
  3258 #if SDL_VIDEO_DRIVER_X11
  3259 #include "x11/SDL_x11messagebox.h"
  3259 #include "x11/SDL_x11messagebox.h"
  3260 #endif
  3260 #endif
  3261 
  3261 
  3262 static SDL_bool SDL_MessageboxValidForDriver(const SDL_MessageBoxData *messageboxdata, SDL_SYSWM_TYPE drivertype)
  3262 // This function will be unused if none of the above video drivers are present.
       
  3263 SDL_UNUSED static SDL_bool SDL_MessageboxValidForDriver(const SDL_MessageBoxData *messageboxdata, SDL_SYSWM_TYPE drivertype)
  3263 {
  3264 {
  3264     SDL_SysWMinfo info;
  3265     SDL_SysWMinfo info;
  3265     SDL_Window *window = messageboxdata->window;
  3266     SDL_Window *window = messageboxdata->window;
  3266 
  3267 
  3267     if (!window) {
  3268     if (!window) {