AppleWin/source/frontends/sdl/imgui/image.h
Andrea Odetti c416eee9df sa2: add namespace and remove tabs.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-25 16:31:24 +00:00

12 lines
270 B
C++

#pragma once
#include <cstddef>
#include "frontends/sdl/imgui/gles.h"
namespace sa2
{
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);
}