src/osd/sdl/sdlmain.c
| r13791 | r13792 | |
| 816 | 816 | |
| 817 | 817 | bitmap = auto_alloc(machine(), bitmap_t(bitmap_width, bitmap_height, BITMAP_FORMAT_ARGB32)); |
| 818 | 818 | |
| 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 ); |
| 820 | 820 | |
| 821 | 821 | if( context_ref != NULL ) |
| 822 | 822 | { |