Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use app w, h for background

  • Loading branch information...
commit 204f213efcaa42dd27f09f95f89af0bc32a3c657 1 parent e731b5a
@jtpalmer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Games/Sokoban/SDL.pm
View
2  lib/Games/Sokoban/SDL.pm
@@ -224,7 +224,7 @@ sub run {
$share = Path::Class::Dir->new('share') or die $!;
- $background = SDLx::Surface->new( w => 640, h => 480 );
+ $background = SDLx::Surface->new( w => $app->w, h => $app->h );
$wall = SDLx::Surface->load( $share->file('wall.bmp') );
$box = SDLx::Surface->load( $share->file('box.bmp') );
$goal = SDLx::Surface->load( $share->file('goal.bmp') );
Please sign in to comment.
Something went wrong with that request. Please try again.