ZeroWiki
FrontPage
FindPage
TitleIndex
RecentChanges
UserPreferences
게임프로그래밍
Contents
1
.
SDL
2
.
Setting Up SDL
1
.
SDL
¶
libSDL_dev
2
.
Setting Up SDL
¶
Setting_Up_SDL
= Source Codes=
#include "SDL.h"
int main(int argc,char **argv)
{
SDL_Surface *pSc
re
en;
SDL_Init(SDL_INIT_EVERYTHING);
pSc
re
en = SDL_
S
etVideoMode
(640,480,32,SDL_SWSURFACE);
SDL_
F
ill
Re
ct
(pSc
re
en,&pSc
re
en->clip_
re
ct,SDL_
M
apRGB
(pSc
re
en->format,0,0,255));
SDL_Flip(pSc
re
en);
SDL_Delay(2000);
}
EditText
FindPage
DeletePage
LikePages
last modified 2021-02-07 05:28:41
Processing time 0.0078 sec