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:
parent
7e42a2b505
commit
86ec781e81
@ -264,8 +264,8 @@ void Init_VideoMode( void )
|
|||||||
rb_define_method( globalVideoModeClass, "width", VideoMode_GetWidth, 0 );
|
rb_define_method( globalVideoModeClass, "width", VideoMode_GetWidth, 0 );
|
||||||
rb_define_method( globalVideoModeClass, "width=", VideoMode_SetWidth, 1 );
|
rb_define_method( globalVideoModeClass, "width=", VideoMode_SetWidth, 1 );
|
||||||
|
|
||||||
rb_define_method( globalVideoModeClass, "height", VideoMode_GetWidth, 0 );
|
rb_define_method( globalVideoModeClass, "height", VideoMode_GetHeight, 0 );
|
||||||
rb_define_method( globalVideoModeClass, "height=", VideoMode_SetWidth, 1 );
|
rb_define_method( globalVideoModeClass, "height=", VideoMode_SetHeight, 1 );
|
||||||
|
|
||||||
rb_define_method( globalVideoModeClass, "bitsPerPixel", VideoMode_GetBitsPerPixel, 0 );
|
rb_define_method( globalVideoModeClass, "bitsPerPixel", VideoMode_GetBitsPerPixel, 0 );
|
||||||
rb_define_method( globalVideoModeClass, "bitsPerPixel=", VideoMode_SetBitsPerPixel, 1 );
|
rb_define_method( globalVideoModeClass, "bitsPerPixel=", VideoMode_SetBitsPerPixel, 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user