vulkaninfo: Fix issue 202
authorJeremy Kniager <jeremyk@lunarg.com>
Mon, 17 Jun 2019 20:04:38 +0000 (14:04 -0600)
committerjeremyk-lunarg <jeremyk@lunarg.com>
Thu, 20 Jun 2019 15:47:51 +0000 (09:47 -0600)
commit7a5656a4aefdc3af698cdc8f5e2fc55b7743fa5d
treebaf4bfbf75a712673dbc918535c4f4d71cf909de
parent35a7de8396de09fea82f8dd663d3a2087c6b7f0b
vulkaninfo: Fix issue 202

Vulkaninfo was replacing function `snprintf`
with function `_snprintf` on windows.

This seems to be for backwards compatiblity
with VS2013.

`_snprintf` is considered deprecated in VS2015
as `snprintf` is properly implemented.

Since we are dropping compatibility with VS2013 it
seems like this replacement should be removed.

Due to AppVeyor failing to build when this pre-processor
command is removed entirely, the command has been modified
to replace `snprintf` with `_snprintf_s`.

This command should hopefully be removed entirely in a future
commit.

Change-Id: I85f726fcb0a1cfcc902487100d35dc63d2ba00d8
vulkaninfo/vulkaninfo.c