Commit 340fdebf authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Updated DevIL library and fixed missing initialization of DevIL.

parent 9183ad5f
......@@ -42,6 +42,13 @@
#include "cgt/texturereadertga.h"
#ifdef CGT_HAS_DEVIL
#include <IL/il.h>
#include <IL/ilu.h>
#endif
namespace cgt {
void init(InitFeature::Features featureset, LogLevel logLevel) {
......@@ -65,6 +72,11 @@ void init(InitFeature::Features featureset, LogLevel logLevel) {
if (featureset & InitFeature::FILE_SYSTEM)
FileSystem::init();
#ifdef CGT_HAS_DEVIL
ilInit();
iluInit();
#endif
}
void deinit() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment