aboutsummaryrefslogtreecommitdiff
path: root/src/ogl.hpp
diff options
context:
space:
mode:
authorrtk0c <[email protected]>2025-04-24 12:25:33 -0700
committerrtk0c <[email protected]>2025-04-24 12:25:33 -0700
commitd5fd02d8eb387b477678ffbfb44303a38c105607 (patch)
treeef706d91dbcd8cd345034e791b7be9076d0897a8 /src/ogl.hpp
parent75585f4fb6f312195a47b16224d45e671858dac7 (diff)
Some draft ideas on simulation
Diffstat (limited to 'src/ogl.hpp')
-rw-r--r--src/ogl.hpp10
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);
+};