SDL_Surface
です。
これが画面出力結果。 |
← |
これが実際のモニタ上の画面 |
+ |
これが、プログラム内部にある「紙」(SDL_Surface構造体の変数) |
SDL_Surface *screen
このように、SDL_Surfaceで定義される変数は、ポインタとなります。#include <stdio.h> #include "SDL/SDL.h" #pragma comment(lib, "SDL.lib") #pragma comment(lib, "SDLmain.lib") int main(int argc, char* argv[]) { SDL_Init(SDL_INIT_VIDEO); SDL_WM_SetCaption("SAMPLEファイル",NULL); SDL_Surface *screen; SDL_Quit(); return 0; }