Had bound SFML::VideoMode height to width. Fixed now

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1723 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
groogy 2010-11-28 01:55:19 +00:00
parent 7e42a2b505
commit 86ec781e81

View File

@ -264,8 +264,8 @@ void Init_VideoMode( void )
rb_define_method( globalVideoModeClass, "width", VideoMode_GetWidth, 0 );
rb_define_method( globalVideoModeClass, "width=", VideoMode_SetWidth, 1 );
rb_define_method( globalVideoModeClass, "height", VideoMode_GetWidth, 0 );
rb_define_method( globalVideoModeClass, "height=", VideoMode_SetWidth, 1 );
rb_define_method( globalVideoModeClass, "height", VideoMode_GetHeight, 0 );
rb_define_method( globalVideoModeClass, "height=", VideoMode_SetHeight, 1 );
rb_define_method( globalVideoModeClass, "bitsPerPixel", VideoMode_GetBitsPerPixel, 0 );
rb_define_method( globalVideoModeClass, "bitsPerPixel=", VideoMode_SetBitsPerPixel, 1 );