Finished the SFML::View class. Will add rdoc commentaries later.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1689 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-20 23:42:53 +00:00
parent 7559f0669f
commit 7a31d223ef
3 changed files with 371 additions and 1 deletions

View file

@ -392,7 +392,7 @@ static VALUE Image_UpdatePixels( int argc, VALUE *args, VALUE self )
somePixels = args[0];
break;
default:
rb_raise( rb_eArgError, "Expected 1 or 2 arguments but was given %d", argc );
rb_raise( rb_eArgError, "Expected 1 or 2 arguments but was given %d", argc );
}
const unsigned int rawWidth = FIX2UINT( rectangle.Width );
const unsigned int rawHeight = FIX2UINT( rectangle.Height );