From 2b6b5ff417397633e43562da215344c7886e060d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Tue, 25 Aug 2009 23:34:19 +0000 Subject: [PATCH] [GB.SDL] * BUG: Remove the Image.Resize method that cannot work. Let use the resize method from the gb.image component. git-svn-id: svn://localhost/gambas/trunk@2272 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.sdl/src/Cimage.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gb.sdl/src/Cimage.cpp b/gb.sdl/src/Cimage.cpp index fd1818693..74d5d7620 100644 --- a/gb.sdl/src/Cimage.cpp +++ b/gb.sdl/src/Cimage.cpp @@ -104,13 +104,13 @@ BEGIN_METHOD(CIMAGE_load, GB_STRING path) END_METHOD -BEGIN_METHOD(CIMAGE_resize, GB_INTEGER width; GB_INTEGER height) +/*BEGIN_METHOD(CIMAGE_resize, GB_INTEGER width; GB_INTEGER height) check_image(THIS); take_image(THIS, IMAGEID); IMAGEID->Resize(VARG(width), VARG(height)); -END_METHOD +END_METHOD*/ /***************************************************************************/ @@ -120,7 +120,5 @@ GB_DESC CImage[] = GB_STATIC_METHOD("Load", "Image", CIMAGE_load, "(Path)s"), - GB_METHOD("Resize", NULL, CIMAGE_resize, "(Width)i(Height)i"), - GB_END_DECLARE };