summaryrefslogtreecommitdiff
path: root/engine/xe_window.hpp
diff options
context:
space:
mode:
authortylermurphy534 <tylermurphy534@gmail.com>2022-09-26 21:24:28 -0400
committertylermurphy534 <tylermurphy534@gmail.com>2022-09-26 21:24:28 -0400
commitbc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a (patch)
treeaabc135163b7569f3c339a471479963ef7eabf2f /engine/xe_window.hpp
parentvertex buffer is not a byte vector, multi texture loading (diff)
downloadminecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.tar.gz
minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.tar.bz2
minecraftvulkan-bc2a2d08c9b7e5ab7b5b85bdcba77087abaed95a.zip
window icon
Diffstat (limited to '')
-rwxr-xr-xengine/xe_window.hpp3
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;