SDL
2.0
|
Go to the source code of this file.
Functions | |
static void | print_mode (const char *prefix, const SDL_DisplayMode *mode) |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 32 of file testdisplayinfo.c.
References dpy, SDL_Rect::h, print_mode(), rect, SDL_GetCurrentDisplayMode, SDL_GetCurrentVideoDriver, SDL_GetDesktopDisplayMode, SDL_GetDisplayBounds, SDL_GetDisplayDPI, SDL_GetDisplayMode, SDL_GetDisplayName, SDL_GetError, SDL_GetNumDisplayModes, SDL_GetNumVideoDisplays, SDL_Init, SDL_INIT_VIDEO, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogError, SDL_LogSetPriority, SDL_Quit, SDL_snprintf, SDL_Rect::w, SDL_Rect::x, and SDL_Rect::y.
|
static |
Definition at line 21 of file testdisplayinfo.c.
References SDL_DisplayMode::format, SDL_DisplayMode::h, SDL_DisplayMode::refresh_rate, SDL_GetPixelFormatName, SDL_Log, and SDL_DisplayMode::w.
Referenced by main().