projects
/
sdlgit/SDL_perl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Moved old SDL::Palette to SDL::Game::Palette.
[sdlgit/SDL_perl.git]
/
lib
/
SDL
/
PixelFormat.pm
diff --git
a/lib/SDL/PixelFormat.pm
b/lib/SDL/PixelFormat.pm
index
4795c43
..
a69f3d2
100644
(file)
--- a/
lib/SDL/PixelFormat.pm
+++ b/
lib/SDL/PixelFormat.pm
@@
-30,6
+30,11
@@
An C<SDL::PixelFormat > stores surface format information
=head1 METHODS
+=head2 palette
+
+ $surface->format->palette;
+
+Returns the C<SDL_Palette> and L<SDL::Palette> of the format of the surface.
=head2 BitsPerPixel