X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=SDL_GetDisplayBounds.html;h=bf90ae27538ca3908d530ab762705dd854a3b277;hb=06214f4f6c7612f869c5b76141b1cd927cc23113;hp=fbd75262ec5e3f0f2c1410918790c99ee5c1661e;hpb=894a2d9d6eab7887e8e5a151bb87e707589f60e9;p=sdl2referencejp%2Fsdl2referencejp.git diff --git a/SDL_GetDisplayBounds.html b/SDL_GetDisplayBounds.html index fbd7526..bf90ae2 100644 --- a/SDL_GetDisplayBounds.html +++ b/SDL_GetDisplayBounds.html @@ -10,22 +10,36 @@
Ú - API(@\Ê) - fBXvCÆEBhE - SDL_GetDisplayBounds +int SDL_GetDisplayBounds(int displayIndex, SDL_Rect* rect)
displayIndex | â¢í¹éfBXvCÌÔ |
rect | fBXvCÌæðãü·éSDL_Rect\¢Ì |
displayIndex | ²¸·éfBXvCÌÔ |
rect | fBXvCÌ\¦Ìæðãü·éSDL_Rect|C^ |
+
+
+
+SDL_Rect r;
+if (SDL_GetDisplayBounds(0, &r) != 0) {
+ SDL_Log("SDL_GetDisplayBounds ¸s: %s", SDL_GetError());
+ return 1;
+}
+
+