- added GCC warning -Wstrict-prototypes
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
This commit is contained in:
@@ -455,7 +455,7 @@ static void vicon_move_down_draw(int x, int y, int w, int h, float UNUSED(alpha)
|
||||
glDisable(GL_LINE_SMOOTH);
|
||||
}
|
||||
|
||||
static void init_brush_icons()
|
||||
static void init_brush_icons(void)
|
||||
{
|
||||
|
||||
#define INIT_BRUSH_ICON(icon_id, name) \
|
||||
@@ -500,7 +500,7 @@ static void init_brush_icons()
|
||||
#undef INIT_BRUSH_ICON
|
||||
}
|
||||
|
||||
static void init_internal_icons()
|
||||
static void init_internal_icons(void)
|
||||
{
|
||||
bTheme *btheme= U.themes.first;
|
||||
ImBuf *bbuf= NULL;
|
||||
@@ -731,7 +731,7 @@ void UI_icons_free_drawinfo(void *drawinfo)
|
||||
}
|
||||
}
|
||||
|
||||
static DrawInfo *icon_create_drawinfo()
|
||||
static DrawInfo *icon_create_drawinfo(void)
|
||||
{
|
||||
DrawInfo *di = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user