diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-10 22:09:52 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2012-02-12 20:40:15 +0100 |
commit | 137ade7226af37d073a5755b90181275664dd65c (patch) | |
tree | cf44c61e90348b9a5f07b415b96003f07fc1a8d8 /src/resources/imageset.h | |
parent | 4f9888c281ff9b4953159fba1a03f59e7dcb116b (diff) | |
download | mana-137ade7226af37d073a5755b90181275664dd65c.tar.gz mana-137ade7226af37d073a5755b90181275664dd65c.tar.bz2 mana-137ade7226af37d073a5755b90181275664dd65c.tar.xz mana-137ade7226af37d073a5755b90181275664dd65c.zip |
Leave the default values for OpenGL texture filters
The scaled wallpaper looks quite a bit better when linear texture
smoothing is applied, and I could not measure a significant difference
in framerate from setting the texture filter to GL_NEAREST. Hence it
seems not necessary to me to introduce the smoothing as an option.
The default value for GL_TEXTURE_MIN_FILTER is GL_NEAREST_MIPMAP_LINEAR
and the default for GL_TEXTURE_MAG_FILTER is GL_LINEAR. These make sure
that the texture is reasonably smoothed by using the weighted average of
the nearest four pixels.
Reviewed-by: Erik Schilling
Diffstat (limited to 'src/resources/imageset.h')
0 files changed, 0 insertions, 0 deletions