summaryrefslogtreecommitdiff
path: root/inc/common/files.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-03-28 22:00:46 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-03-28 22:51:45 +0400
commit7040cc8d347773c718dd69e4e36fa3f002250f78 (patch)
tree7320c16afb84908a2cb5c2fc2fb46de8be17513d /inc/common/files.h
parentbdca2239da076ccec30cc76d4f8124087b47bbd7 (diff)
Clean up and improve GL image uploading code.
Upload original and scaled versions of image at different mipmap levels when ‘gl_upscale_pcx’ is enabled. Enable mipmapping for upscaled images. Bump minimum required OpenGL version to 1.2 and remove some feature checks. Get rid of small is_foo() functions and ‘upload_image’ hack, simply pass image type and flags as arguments to GL_Upload*. Set all texture object parameters in a separate function.
Diffstat (limited to 'inc/common/files.h')
0 files changed, 0 insertions, 0 deletions