logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_VideoDriverName - Obtain the name of the video driver

Description

       The  buffer  pointed  to  by  namebuf  is  filled  up to a maximum of maxlen characters (include the NULL
       terminator) with the name of the initialised  video  driver.  The  driver  name  is  a  simple  one  word
       identifier like "x11" or "windib".

Name

       SDL_VideoDriverName - Obtain the name of the video driver

Return Value

       Returns NULL if video has not been initialised with SDL_Init or a pointer to namebuf otherwise.

See Also

SDL_InitSDL_InitSubSystem

SDL                                          Tue 11 Sep 2001, 23:01                       SDL_VideoDriverName(3)

Synopsis

#include"SDL.h"char*SDL_VideoDriverName(char*namebuf,intmaxlen);

See Also