Searched refs:rgba_data (Results 1 – 2 of 2) sorted by relevance
1148 bool loadTexture(const char *filename, uint8_t *rgba_data, in loadTexture() argument1159 if (rgba_data == NULL) { in loadTexture()1169 uint8_t *rowPtr = rgba_data; in loadTexture()1176 rgba_data += layout->rowPitch; in loadTexture()1202 if (rgba_data == NULL) { in loadTexture()1214 uint8_t *rowPtr = rgba_data; in loadTexture()1221 rgba_data += layout->rowPitch; in loadTexture()
2205 bool loadTexture(const char *filename, uint8_t *rgba_data, in loadTexture()2229 if (rgba_data == nullptr) { in loadTexture()2242 uint8_t *rowPtr = rgba_data; in loadTexture()2251 rgba_data += layout->rowPitch; in loadTexture()