fix warning

This commit is contained in:
Vadim Lopatin 2016-04-05 10:56:02 +03:00
parent 9633cd9465
commit 56795f24da
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ struct AutoParams {
this.specular = specular;
}
string defs() {
char buf[];
char[] buf;
if (directionalLightCount) {
buf ~= "DIRECTIONAL_LIGHT_COUNT ";
buf ~= directionalLightCount.to!string;