Move FreeImage.h include from header to main file
Test couldn't find FreeImage functions so I'm trying moving it
This commit is contained in:
parent
d12a32f162
commit
3f923e5a2f
|
@ -1,8 +1,6 @@
|
||||||
#ifndef LOAD_TEXTURE_H_
|
#ifndef LOAD_TEXTURE_H_
|
||||||
#define LOAD_TEXTURE_H_
|
#define LOAD_TEXTURE_H_
|
||||||
|
|
||||||
#include <FreeImage.h>
|
|
||||||
|
|
||||||
namespace Texture {
|
namespace Texture {
|
||||||
void LoadTexture(const char* filePath);
|
void LoadTexture(const char* filePath);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include "load_texture.h"
|
#include "load_texture.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include <FreeImage.h>
|
||||||
|
|
||||||
namespace Texture {
|
namespace Texture {
|
||||||
void LoadTexture(const char* filePath) {
|
void LoadTexture(const char* filePath) {
|
||||||
|
|
Loading…
Reference in New Issue