demos: fix tabs and line endings in vulkaninfo
authorDavid Pinedo <david@lunarg.com>
Mon, 19 Oct 2015 21:22:28 +0000 (15:22 -0600)
committerDavid Pinedo <david@lunarg.com>
Mon, 19 Oct 2015 21:28:45 +0000 (15:28 -0600)
demos/vulkaninfo.c

index 9e907d6..7270fe5 100644 (file)
@@ -1058,17 +1058,17 @@ static void app_gpu_dump(const struct app_gpu *gpu)
 
 int main(int argc, char **argv)
 {
-       unsigned int major, minor, patch;
-       struct app_gpu gpus[MAX_GPUS];
+    unsigned int major, minor, patch;
+    struct app_gpu gpus[MAX_GPUS];
     VkPhysicalDevice objs[MAX_GPUS];
     uint32_t gpu_count, i;
     VkResult err;
     struct app_instance inst;
 
-       major = VK_API_VERSION >> 22;\r
-       minor = (VK_API_VERSION >> 12) & 0x4ff;\r
-       patch = VK_API_VERSION & 0xfff;\r
-       printf("===========\n");\r
+    major = VK_API_VERSION >> 22;
+    minor = (VK_API_VERSION >> 12) & 0x4ff;
+    patch = VK_API_VERSION & 0xfff;
+    printf("===========\n");
        printf("VULKAN INFO\n");
     printf("===========\n\n");
     printf("Vulkan API Version: %d %d %d\n\n", major, minor, patch);