Skip to content

Commit

Permalink
screen_size now returns depth as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaizer committed Jan 31, 2012
1 parent d9ae85b commit f31d22f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pods/SDLx/App.pod
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,9 @@ descriptions of what each flag does.

=head2 screen_size

my ($screen_w, $screen_h) = SDLx::App->screen_size();
my ($screen_w, $screen_h, $screen_d) = SDLx::App->screen_size();

Returns the width and height of the user's screen resolution using
Returns the width, height and depth of the user's screen using
L<SDL::Video::get_video_info|SDL::Video/get_video_info>.
This can be called before or after calling L</new>.
Initializing the video subsytem will be handled correctly no matter what thanks to
Expand Down

0 comments on commit f31d22f

Please sign in to comment.