aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-18 02:34:32 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-18 02:34:34 +0200
commitb086b9be6ccba2465f0f09c696d1a0bd13c7519d (patch)
tree7c5b9cab5127e258853044f563ac0eb56ee75755 /src
parent33cd6d3af6eca94961e7f835097f6dabf5d232a7 (diff)
Update readme
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b5ec81e..a4e5dc8 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -21,6 +21,8 @@
#include <sibs/SafeSerializer.hpp>
#include <process.hpp>
#include <X11/Xlib.h>
+#include <freetype2/ft2build.h>
+#include <freetype2/freetype/freetype.h>
using namespace std;
using namespace dchat;
@@ -669,6 +671,9 @@ int main(int argc, char **argv)
Channel::getCurrent()->addLocalMessage(msg, Channel::getCurrent()->getSystemUser());
});
+ FT_Library library;
+ FT_Init_FreeType(&library);
+
sf::Event event;
while (window.isOpen())
{