Applied patch #484508 (mostly sample warnings).

I've no idea why CVS thinks that the .mcp files have been changed - they haven't.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2001-11-22 12:58:44 +00:00
parent 780bb8744b
commit bbb8f29b4a
4 changed files with 41 additions and 34 deletions

View File

@@ -128,9 +128,9 @@ static void read_srfs(FILE *f, int nbytes, lwObject *lwo)
nbytes -= read_string(f,material->name);
/* defaults */
material->r = 0.7;
material->g = 0.7;
material->b = 0.7;
material->r = 0.7f;
material->g = 0.7f;
material->b = 0.7f;
}
lwo->material = (lwMaterial*) realloc(lwo->material, sizeof(lwMaterial)*lwo->material_cnt);
}