From cbfe3801bbcb2818b28b0c84e2bf6f25b123c46b Mon Sep 17 00:00:00 2001 From: rtk0c Date: Thu, 24 Apr 2025 13:14:10 -0700 Subject: Make the texture render --- src/ogl.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ogl.hpp') 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 #include struct OglImage { @@ -7,4 +8,5 @@ struct OglImage { OglImage(); ~OglImage(); void upload(const char* data, int w, int h); + ImTextureID as_imgui() const; }; -- cgit v1.2.3-70-g09d2