]> git.tdb.fi Git - libs/gl.git/commitdiff
Cosmetic tweaks
authorMikko Rasa <tdb@tdb.fi>
Thu, 27 Oct 2016 08:07:57 +0000 (11:07 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 27 Oct 2016 08:07:57 +0000 (11:07 +0300)
source/texture.cpp
source/texture2d.h
source/texturecube.h

index 97a73d9e6f59c81b3f8ca5f85f55219a02476da7..004d78c2abc38d1b9bc383b361cefae647b8ac06 100644 (file)
@@ -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);
index 92dafc7142e31b980493cc20013725f73d29f3c3..221fbd7b76a28aee38d95382a2b797e34fd5d24c 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <string>
 #include <msp/graphics/image.h>
-#include "resource.h"
 #include "texture.h"
 
 namespace Msp {
index 7510a716a6be13dc6f884e4af41fe4d6b13ad143..fd4670469fd1ab0500b607a35e723fe7e9205b65 100644 (file)
@@ -1,10 +1,10 @@
 #ifndef MSP_GL_TEXTURECUBE_H_
 #define MSP_GL_TEXTURECUBE_H_
 
+#include <msp/gl/extensions/arb_texture_cube_map.h>
 #include <msp/graphics/image.h>
 #include "texture.h"
 #include "vector.h"
-#include <msp/gl/extensions/arb_texture_cube_map.h>
 
 namespace Msp {
 namespace GL {