diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-26 21:24:28 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-26 21:24:28 -0400 |
commit | bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a (patch) | |
tree | aabc135163b7569f3c339a471479963ef7eabf2f /engine/xe_window.hpp | |
parent | vertex buffer is not a byte vector, multi texture loading (diff) | |
download | minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.tar.gz minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.tar.bz2 minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.zip |
window icon
Diffstat (limited to '')
-rwxr-xr-x | engine/xe_window.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/xe_window.hpp b/engine/xe_window.hpp index 83b7c98..bb440ad 100755 --- a/engine/xe_window.hpp +++ b/engine/xe_window.hpp @@ -12,7 +12,7 @@ namespace xe { class Window { public: - Window(int w, int h, std::string name); + Window(int w, int h, std::string name, const char *icon); ~Window(); Window(const Window &) = delete; @@ -29,6 +29,7 @@ class Window { private: static void framebufferResizeCallback(GLFWwindow *window, int width, int height); void initWindow(); + void setIcon(const char *icon); int width; int height; |