ZeroWiki
FrontPage
FindPage
TitleIndex
RecentChanges
UserPreferences
게임프로그래밍
C
ontents
1
.
SDL
2
.
Setting Up SDL
1
.
SDL
¶
libSDL_dev
2
.
Setting Up SDL
¶
Setting_Up_SDL
= Sour
c
e
C
odes=
#in
c
lude "SDL.h"
int main(int arg
c
,
c
har **argv)
{
SDL_Surfa
c
e *pS
c
reen;
SDL_Init(SDL_INIT_EVERYTHING);
pS
c
reen = SDL_
S
etVideoMode
(640,480,32,SDL_SWSURFA
C
E);
SDL_
F
illRe
c
t
(pS
c
reen,&pS
c
reen->
c
lip_re
c
t,SDL_
M
apRGB
(pS
c
reen->format,0,0,255));
SDL_Flip(pS
c
reen);
SDL_Delay(2000);
}
EditText
FindPage
DeletePage
LikePages
last modified 2021-02-07 05:28:41
Processing time 0.0084 sec