view plugins/crazychat/mat_struct.h @ 13418:ad33debf87b4

[gaim-migrate @ 15793] Better NULL checking... Resolves CID 62: Event deref_ptr: Directly dereferenced pointer "wb" 75 if(wb->ui_data) Event check_after_deref: Pointer "wb" dereferenced before NULL check 86 if(wb) committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Mar 2006 01:58:34 +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;