Sub pinkie crashes the pal drawer :(

This commit is contained in:
Magnus Norddahl 2016-11-21 15:40:42 +01:00
commit ddb0161f9c
2 changed files with 6 additions and 1 deletions

View file

@ -371,7 +371,9 @@ FString DrawPolyTrianglesCommand::DebugInfo()
}
FString info;
info.Format("DrawPolyTriangles: variant = %s, blend mode = %s, color = %d", variantstr.GetChars(), blendmodestr.GetChars(), args.uniforms.color);
info.Format("DrawPolyTriangles: variant = %s, blend mode = %s, color = %d, light = %d, textureWidth = %d, textureHeight = %d, texture = %s, translation = %s, colormaps = %s",
variantstr.GetChars(), blendmodestr.GetChars(), args.uniforms.color, args.uniforms.light, args.textureWidth, args.textureHeight,
args.texturePixels ? "ptr" : "null", args.translation ? "ptr" : "null", args.colormaps ? "ptr" : "null");
return info;
}