VirtualBox

Ignore:
Timestamp:
Jan 24, 2023 5:31:05 PM (23 months ago)
Author:
vboxsync
Message:

FE/SDL. bugref:9449. Removing SDL 1.2 specific code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxSDL/Framebuffer.h

    r98103 r98290  
    130130#ifdef VBOX_WITH_SDL2
    131131    SDL_Window *getWindow() { return mpWindow; }
    132     bool hasWindow(uint32_t id) { return mScreen && SDL_GetWindowID(mpWindow) == id; }
     132    bool hasWindow(uint32_t id) { return SDL_GetWindowID(mpWindow) == id; }
    133133    int setWindowTitle(const char *pcszTitle);
    134134#endif
     
    144144
    145145private:
    146     /** current SDL framebuffer pointer (also includes screen width/height) */
    147     SDL_Surface *mScreen;
     146
    148147#ifdef VBOX_WITH_SDL2
    149148    /** the SDL window */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette