From: Mikko Rasa Date: Thu, 27 Oct 2016 08:07:57 +0000 (+0300) Subject: Cosmetic tweaks X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=commitdiff_plain;h=ccbfdfa0d9d796244b1ecc0fa3faa2c50304811b Cosmetic tweaks --- diff --git a/source/texture.cpp b/source/texture.cpp index 97a73d9e..004d78c2 100644 --- a/source/texture.cpp +++ b/source/texture.cpp @@ -290,10 +290,10 @@ void Texture::Loader::init() add("external_image", &Loader::external_image); add("filter", &Loader::filter); - add("max_anisotropy", &Loader::max_anisotropy); add("generate_mipmap", &Loader::generate_mipmap); add("image_data", &Loader::image_data); add("mag_filter", &Loader::mag_filter); + add("max_anisotropy", &Loader::max_anisotropy); add("min_filter", &Loader::min_filter); add("wrap", &Loader::wrap); add("wrap_r", &Loader::wrap_r); diff --git a/source/texture2d.h b/source/texture2d.h index 92dafc71..221fbd7b 100644 --- a/source/texture2d.h +++ b/source/texture2d.h @@ -3,7 +3,6 @@ #include #include -#include "resource.h" #include "texture.h" namespace Msp { diff --git a/source/texturecube.h b/source/texturecube.h index 7510a716..fd467046 100644 --- a/source/texturecube.h +++ b/source/texturecube.h @@ -1,10 +1,10 @@ #ifndef MSP_GL_TEXTURECUBE_H_ #define MSP_GL_TEXTURECUBE_H_ +#include #include #include "texture.h" #include "vector.h" -#include namespace Msp { namespace GL {