X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Video.html-inc;h=0bddd0947a1afe06fd16522127c3704bea921755;hb=c7e8d3c612049580c9a96b3006c4c89a00410643;hp=86b96b89bbe5f764720e232ca9e2273c4bd424f6;hpb=5ce48b7ebb54cf63bf5fb7ffb7d5f9213f8d45a9;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-Video.html-inc b/pages/SDL-Video.html-inc index 86b96b8..0bddd09 100644 --- a/pages/SDL-Video.html-inc +++ b/pages/SDL-Video.html-inc @@ -76,7 +76,7 @@
"x11"
, "windib"
Returns a reference to an array:
-
- - *
-of available screen dimensions (as
SDL::Rect
's) for the given format and video flags.
- - *
-with first array element 'all'. In this case you can set all modes.
- - *
-with first array element 'none' if no mode is available.
-
+
+ - of available screen dimensions (as
SDL::Rect
's) for the given format and video flags.
+ - with first array element 'all'. In this case you can set all modes.
+ - with first array element 'none' if no mode is available.
+
+
Note: <list_modes> should be called before the video_mode ist set. Otherwise you will always get 'all'.
Example:
use SDL;
@@ -1443,9 +1441,9 @@ the application will receive a SDL_APPACTIVE
loss event (see Applic
is experimental).
-AUTHOR
-