[pygame] PATCH #147 - gfxdraw doesn't work with inherited surfaces

2013-01-20 Thread Piotr Borkowski
diff -r 4a4611239021 src/gfxdraw.c --- a/src/gfxdraw.cThu Jan 10 14:18:39 2013 + +++ b/src/gfxdraw.cSun Jan 13 22:30:53 2013 +0100 @@ -237,6 +237,7 @@ PyErr_SetString (PyExc_TypeError, "surface must be a Surface"); return NULL; } + sdlrect = GameRect_Fr

[pygame] #147 - gfxdraw doesn't work with inherited surfaces

2013-01-13 Thread Piotr Borkowski
diff -r 4a4611239021 src/gfxdraw.c --- a/src/gfxdraw.cThu Jan 10 14:18:39 2013 + +++ b/src/gfxdraw.cSun Jan 13 22:30:53 2013 +0100 @@ -237,6 +237,7 @@ PyErr_SetString (PyExc_TypeError, "surface must be a Surface"); return NULL; } + sdlrect = GameRect_FromObj