Moved old SDL::Palette to SDL::Game::Palette.
[sdlgit/SDL_perl.git] / lib / SDL / PixelFormat.pm
index 4795c43..a69f3d2 100644 (file)
@@ -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