summary refs log tree commit diff stats
path: root/src/renderer/texture.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2018-04-28 13:52:47 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2018-04-28 13:52:47 -0400
commitd0f191b3b7419f846342ea5eba5a9bb69cf9bb14 (patch)
treee0ba93fa437e2568b73dd4cbd8483d1a2022c34c /src/renderer/texture.cpp
parent8016a7146fec3f6f43ca05723441750e5aae3d4d (diff)
downloadtherapy-d0f191b3b7419f846342ea5eba5a9bb69cf9bb14.tar.gz
therapy-d0f191b3b7419f846342ea5eba5a9bb69cf9bb14.tar.bz2
therapy-d0f191b3b7419f846342ea5eba5a9bb69cf9bb14.zip
Moved stb_image.h to a vendor folder
Diffstat (limited to 'src/renderer/texture.cpp')
-rw-r--r--src/renderer/texture.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/renderer/texture.cpp b/src/renderer/texture.cpp index 2728665..04d5cf4 100644 --- a/src/renderer/texture.cpp +++ b/src/renderer/texture.cpp
@@ -1,13 +1,9 @@
1#include "texture.h" 1#include "texture.h"
2#include <stdexcept> 2#include <stdexcept>
3#include <stb_image.h>
3#include "renderer.h" 4#include "renderer.h"
4#include "util.h" 5#include "util.h"
5 6
6// include stb_image
7#define STBI_ONLY_PNG
8#define STBI_ONLY_BMP
9#include "stb_image.h"
10
11Texture::Texture( 7Texture::Texture(
12 int width, 8 int width,
13 int height) : 9 int height) :