First pass memory tool
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "dawnsharedlibs.hpp"
|
||||
#include "util/memory.hpp"
|
||||
|
||||
#include <stb_truetype.h>
|
||||
|
||||
|
@ -47,7 +47,7 @@ TrueTypeFaceTexture::TrueTypeFaceTexture(
|
||||
|
||||
// I'd love to just buffer straight to the GPU, but it seems that is a bit
|
||||
// unstable right now.
|
||||
uint8_t *buffer = (uint8_t *)memoryFillWithZero(w * h * sizeof(uint8_t));
|
||||
uint8_t *buffer = (uint8_t *)memoryAllocateEmpty(w * h, sizeof(uint8_t));
|
||||
|
||||
size_t offset = 0;
|
||||
struct TrueTypeCharacter info;
|
||||
|
Reference in New Issue
Block a user