Re: [sdljava-users] Small patch to SDLVideo.mapRGBA
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2005-01-26 02:29:02
|
Nice! Thanks for the patch. We now have Direct NIO access to the pixel data. This is pretty damn fast!! The only problem appears to be that I tried to create the variable like I was in java -- I wish there would have been a compilier error... BTW: When sending patches for the native code the patch for the .i is enough. You don't need to send the patch info for the C file as it is always regenerated by swig... Commiting this to CVS as well as updated testcase: SDLDirectBufferPixelDataTest Thanks again, -Ivan/ LEBOEUF Bart wrote: >Hi, > > Here a patch for SDLVideo native code correcting init of jobject >variable, because the compilation failed with VisualC. If someone has >trouble with it, let me know it. > >/Bart. > > |