summaryrefslogtreecommitdiff
path: root/src/resources/imageset.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-22 20:50:45 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-07-23 08:21:40 +0200
commite26642fbd61fbc842d6f88c6f078a7ed16b14389 (patch)
tree4a003b4eb0d54b074d9a0926a3b4ac820317f9c4 /src/resources/imageset.h
parent9876be2200996c5005f45f87771e91c39d208796 (diff)
downloadmana-client-e26642fbd61fbc842d6f88c6f078a7ed16b14389.tar.gz
mana-client-e26642fbd61fbc842d6f88c6f078a7ed16b14389.tar.bz2
mana-client-e26642fbd61fbc842d6f88c6f078a7ed16b14389.tar.xz
mana-client-e26642fbd61fbc842d6f88c6f078a7ed16b14389.zip
Revert "Leave the default values for OpenGL texture filters"
This reverts commit 137ade7226af37d073a5755b90181275664dd65c. Turns out that when leaving the default values, the textures won't actually work since they are incomplete unless the mipmaps are generated (since GL_TEXTURE_MIN_FILTER is GL_NEAREST_MIPMAP_LINEAR by default). For now we don't want to generate mipmaps anyway since we're going for a pixely look, so revert the filters back to GL_NEAREST. The reason this had worked for me is because on my system the texture type GL_TEXTURE_RECTANGLE_ARB is used instead of GL_TEXTURE_2D and this texture type does not support mipmaps.
Diffstat (limited to 'src/resources/imageset.h')
0 files changed, 0 insertions, 0 deletions