summaryrefslogtreecommitdiff
path: root/video.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video.hpp')
-rw-r--r--video.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/video.hpp b/video.hpp
index 0363a9d..453423b 100644
--- a/video.hpp
+++ b/video.hpp
@@ -295,6 +295,13 @@ struct Device {
Context& acquire();
Context& get_ctx();
+
+ Texture_Id create_texture(
+ Texture_Format fmt,
+ int w,
+ int h,
+ Buffer_Id init
+ );
Texture_Id get_backbuffer();
Texture& get_texture(Texture_Id id);
void destroy_texture(Texture_Id id);