libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
blit.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #include<stdint.h>
13 
24 void gfx_slow_swizzling_blit(uint32_t *framebuffer, uint32_t *image, int w, int h, int tx, int ty);
25 
26 #ifdef __cplusplus
27 }
28 #endif
void gfx_slow_swizzling_blit(uint32_t *framebuffer, uint32_t *image, int w, int h, int tx, int ty)
Copies pixels from image to framebuffer, swizzling them into the format the GPU expects.