Implement sending of image data to GPU

This commit is contained in:
Kovid Goyal
2017-10-01 09:04:46 +05:30
parent e2a8115328
commit 3cbc20005b
6 changed files with 59 additions and 25 deletions

View File

@@ -25,6 +25,7 @@ typedef struct {
size_t data_sz;
uint8_t *data;
bool is_4byte_aligned;
bool is_rgb;
} LoadData;
typedef struct {