diff options
Diffstat (limited to 'src/ogl.hpp')
-rw-r--r-- | src/ogl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ogl.hpp b/src/ogl.hpp index 126b21f..b220f76 100644 --- a/src/ogl.hpp +++ b/src/ogl.hpp @@ -1,5 +1,6 @@ #pragma once +#include <imgui.h> #include <cstdint> struct OglImage { @@ -7,4 +8,5 @@ struct OglImage { OglImage(); ~OglImage(); void upload(const char* data, int w, int h); + ImTextureID as_imgui() const; }; |