Mercurial > pidgin
view plugins/crazychat/mat_struct.h @ 13452:fd606401a8d2
[gaim-migrate @ 15827]
Don't dereference a pointer if we've just failed to allocated it
Fixes CID 17
committer: Tailor Script <tailor@pidgin.im>
| author | Stu Tomlinson <stu@nosnilmot.com> |
|---|---|
| date | Tue, 07 Mar 2006 14:10:52 +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;
