From the doc, it might allow for better performance. Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
7 lines
246 B
C
7 lines
246 B
C
#pragma once
|
|
|
|
#include <cstddef>
|
|
#include "frontends/sdl/imgui/gles.h"
|
|
|
|
void allocateTexture(GLuint texture, size_t width, size_t height);
|
|
void loadTextureFromData(GLuint texture, const uint8_t * data, size_t width, size_t height, size_t pitch);
|