Half way through debugging texture problems
This commit is contained in:
@ -188,6 +188,11 @@ void Texture::buffer(struct ColorU8 pixels[]) {
|
||||
this->bufferRaw((void*)pixels);
|
||||
}
|
||||
|
||||
void Texture::buffer(struct Color pixels[]) {
|
||||
this->bufferRaw((void*)pixels);
|
||||
// assertUnreachable();
|
||||
}
|
||||
|
||||
void Texture::buffer(uint8_t pixels[]) {
|
||||
this->bufferRaw((void*)pixels);
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ namespace Dawn {
|
||||
void fill(uint8_t) override;
|
||||
bool_t isReady() override;
|
||||
void buffer(struct ColorU8 pixels[]) override;
|
||||
void buffer(struct Color pixels[]);
|
||||
void buffer(uint8_t pixels[]) override;
|
||||
|
||||
/**
|
||||
|
@ -36,6 +36,7 @@ static inline void * memoryFillWithZero(const size_t size) {
|
||||
* @param pointer Pointer in memory to free.
|
||||
*/
|
||||
static inline void memoryFree(void *pointer) {
|
||||
assertNotNull(pointer);
|
||||
free(pointer);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user