Previous 15994 Revisions Next

r13792 Saturday 31st December, 2011 at 12:08:17 UTC by Wilbert Pol
Fix osx compile
[src/osd/sdl]sdlmain.c

src/osd/sdl/sdlmain.c
r13791r13792
816816
817817      bitmap = auto_alloc(machine(), bitmap_t(bitmap_width, bitmap_height, BITMAP_FORMAT_ARGB32));
818818
819      context_ref = CGBitmapContextCreate( bitmap->base, bitmap_width, bitmap_height, bits_per_component, bitmap->rowpixels*4, color_space, bitmap_info );
819      context_ref = CGBitmapContextCreate( bitmap->raw_pixptr(0), bitmap_width, bitmap_height, bits_per_component, bitmap->rowpixels()*4, color_space, bitmap_info );
820820
821821      if( context_ref != NULL )
822822      {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team