comparison include/SDL_video.h @ 5125:dc0dfdd58f27

Removed completely non-portable event thread hack. Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Jan 2011 22:44:08 -0800
parents 158bb5752974
children da10636e5eca
comparison
equal deleted inserted replaced
5124:0ec550f04bbc 5125:dc0dfdd58f27
276 * \brief Initialize the video subsystem, optionally specifying a video driver. 276 * \brief Initialize the video subsystem, optionally specifying a video driver.
277 * 277 *
278 * \param driver_name Initialize a specific driver by name, or NULL for the 278 * \param driver_name Initialize a specific driver by name, or NULL for the
279 * default video driver. 279 * default video driver.
280 * 280 *
281 * \param flags FIXME: Still needed?
282 *
283 * \return 0 on success, -1 on error 281 * \return 0 on success, -1 on error
284 * 282 *
285 * This function initializes the video subsystem; setting up a connection 283 * This function initializes the video subsystem; setting up a connection
286 * to the window manager, etc, and determines the available display modes 284 * to the window manager, etc, and determines the available display modes
287 * and pixel formats, but does not initialize a window or graphics mode. 285 * and pixel formats, but does not initialize a window or graphics mode.
288 * 286 *
289 * \sa SDL_VideoQuit() 287 * \sa SDL_VideoQuit()
290 */ 288 */
291 extern DECLSPEC int SDLCALL SDL_VideoInit(const char *driver_name, 289 extern DECLSPEC int SDLCALL SDL_VideoInit(const char *driver_name);
292 Uint32 flags);
293 290
294 /** 291 /**
295 * \brief Shuts down the video subsystem. 292 * \brief Shuts down the video subsystem.
296 * 293 *
297 * This function closes all windows, and restores the original video mode. 294 * This function closes all windows, and restores the original video mode.