add opengl texture from sdl_surface

This commit is contained in:
2021-04-11 21:28:40 +02:00
parent 07df333e3e
commit 4e2dd51ad1
4 changed files with 37 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ namespace MM::OpenGL {
struct TextureLoaderFile;
struct TextureLoaderConstBuffer;
struct TextureLoaderSDLSurface;
class Texture {
private:
@@ -14,6 +15,7 @@ namespace MM::OpenGL {
private:
friend struct TextureLoaderFile;
friend struct TextureLoaderConstBuffer;
friend struct TextureLoaderSDLSurface;
Texture(
uint32_t handle,