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