aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-18 09:12:41 +0200
committerdec05eba <dec05eba@protonmail.com>2018-05-18 09:12:47 +0200
commit34e1d3d9d40f9b9139b801de99292a563c3c9a96 (patch)
treef583f7e5b3ab43a24fb11439e3920aed0030a9e2
parentd7b415c16d706e8bfe2d1cbfd8a542118bca6c3b (diff)
Remove freetype dependency
-rw-r--r--project.conf1
-rw-r--r--src/main.cpp5
2 files changed, 0 insertions, 6 deletions
diff --git a/project.conf b/project.conf
index 7c92ede..cf60d63 100644
--- a/project.conf
+++ b/project.conf
@@ -15,4 +15,3 @@ gl = "17.3"
x11 = "1.6.5"
libnsgif = "0.2.0"
libpreview = "0.2.0"
-freetype2 = "22.0.0"
diff --git a/src/main.cpp b/src/main.cpp
index a4e5dc8..b5ec81e 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -21,8 +21,6 @@
#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;
@@ -671,9 +669,6 @@ 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())
{