• Sam Lantinga's avatar
    Added current_w and current_h to the SDL_VideoInfo structure, which is set to... · ab022a89
    Sam Lantinga authored
    Added current_w and current_h to the SDL_VideoInfo structure, which is set to the desktop resolution during video intialization, and then set to the current resolution when a video mode is set.
    
    SDL_SetVideoMode() now accepts 0 for width or height and will use the current video mode (or the desktop mode if no mode has been set.)
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401549
    ab022a89
Name
Last commit
Last update
..
.cvsignore Loading commit data...
SDL_ph_events.c Loading commit data...
SDL_ph_events_c.h Loading commit data...
SDL_ph_gl.c Loading commit data...
SDL_ph_gl.h Loading commit data...
SDL_ph_image.c Loading commit data...
SDL_ph_image_c.h Loading commit data...
SDL_ph_modes.c Loading commit data...
SDL_ph_modes_c.h Loading commit data...
SDL_ph_mouse.c Loading commit data...
SDL_ph_mouse_c.h Loading commit data...
SDL_ph_video.c Loading commit data...
SDL_ph_video.h Loading commit data...
SDL_ph_wm.c Loading commit data...
SDL_ph_wm_c.h Loading commit data...
SDL_phyuv.c Loading commit data...
SDL_phyuv_c.h Loading commit data...