Mercurial > pidgin.yaz
view plugins/crazychat/mat_struct.h @ 11324:772d086e9067
[gaim-migrate @ 13535]
Use a better scaling method. Was there any particular reason this was
using GTK_INTERP_NEAREST? From the GDK docs:
"Nearest neighbor sampling; this is the fastest and lowest quality mode.
Quality is normally unacceptable when scaling down, but may be OK when
scaling up."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 22 Aug 2005 21:41:15 +0000 |
parents | ed017b9c532d |
children |
line wrap: on
line source
#include <GL/gl.h> #include <GL/glu.h> typedef struct sample_MATERIAL{ GLfloat ambient[3]; GLfloat diffuse[3]; GLfloat specular[3]; GLfloat emission[3]; GLfloat alpha; GLfloat phExp; int texture; }sample_MATERIAL;