summaryrefslogtreecommitdiff
path: root/engine/xe_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine/xe_engine.cpp')
-rw-r--r--engine/xe_engine.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/engine/xe_engine.cpp b/engine/xe_engine.cpp
index 9384094..af2c470 100644
--- a/engine/xe_engine.cpp
+++ b/engine/xe_engine.cpp
@@ -1,6 +1,8 @@
#include "xe_engine.hpp"
#include "xe_image.hpp"
+
#include <chrono>
+#include <AL/alut.h>
namespace xe {
@@ -9,6 +11,11 @@ XeEngine::XeEngine(int width, int height, std::string name) : xeWindow{width, he
xeRenderer{xeWindow, xeDevice},
xeCamera{} {
loadDescriptorPool();
+ alutInit(0, NULL);
+};
+
+XeEngine::~XeEngine() {
+ alutExit();
};
void XeEngine::loadDescriptorPool() {