diff options
Diffstat (limited to 'src/ogl.hpp')
-rw-r--r-- | src/ogl.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ogl.hpp b/src/ogl.hpp new file mode 100644 index 0000000..126b21f --- /dev/null +++ b/src/ogl.hpp @@ -0,0 +1,10 @@ +#pragma once + +#include <cstdint> + +struct OglImage { + uint32_t glHandle; + OglImage(); + ~OglImage(); + void upload(const char* data, int w, int h); +}; |