AppleWin/source/frontends/sdl/imgui/image.h
Andrea Odetti 989410c17d Integrate Dear ImGui with SDL to reduce code duplication.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2021-02-06 16:55:08 +00:00

6 lines
179 B
C

#pragma once
#include <cstddef>
#include "frontends/sdl/imgui/gles.h"
void LoadTextureFromData(GLuint texture, const uint8_t * data, size_t width, size_t height, size_t pitch);