pidgin/plugins/crazychat/mat_struct.h@c16d341cbf8c
pidgin/plugins/crazychat/mat_struct.h
Wed, 27 Aug 2008 14:12:19 +0000
- author
- Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
- date
- Wed, 27 Aug 2008 14:12:19 +0000
- branch
- soc.2008.masterpassword
- changeset 34015
- c16d341cbf8c
- parent 15435
-
4b933b06d75e
- child 16238
-
33bf2fd32108
- child 18068
-
b6554e3c8224
- child 20478
-
46933dc62880
- permissions
- -rw-r--r--
Fixed a likely cause for the heap corruption in ok_account_prefs_cb(), as well
as a memory leak. It was because I freed the original instead of the copy.
See diff for details.
#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;