| 369 | } |
| 370 | |
| 371 | static void _sg_metal_query_image_pixels(_sg_image_t* img, void* pixels) { |
| 372 | id<MTLTexture> mtl_src_texture = _sg.mtl.idpool.pool[img->mtl.tex[0]]; |
| 373 | _sg_metal_encode_texture_pixels(0, 0, mtl_src_texture.width, mtl_src_texture.height, true, mtl_src_texture, pixels); |
| 374 | } |
| 375 | |
| 376 | static void _sg_metal_query_pixels(int x, int y, int w, int h, void *pixels) { |
| 377 | id<CAMetalDrawable> mtl_drawable = (__bridge id<CAMetalDrawable>)_sg.mtl.drawable_cb(); |
nothing calls this directly
no test coverage detected