瀏覽代碼

Fixed warning: no previous extern declaration for non-static variable

Sam Lantinga 1 月之前
父節點
當前提交
933beeb18b

+ 1 - 1
src/render/vulkan/VULKAN_PixelShader_Advanced.h

@@ -1,6 +1,6 @@
 	// 1113.1.1
 	 #pragma once
-const uint32_t VULKAN_PixelShader_Advanced[] = {
+static const uint32_t VULKAN_PixelShader_Advanced[] = {
 	0x07230203,0x00010000,0x0008000b,0x000006bb,0x00000000,0x00020011,0x00000001,0x0006000b,
 	0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
 	0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000028b,0x0000028e,0x00000292,

+ 1 - 1
src/render/vulkan/VULKAN_PixelShader_Colors.h

@@ -1,6 +1,6 @@
 	// 1113.1.1
 	 #pragma once
-const uint32_t VULKAN_PixelShader_Colors[] = {
+static const uint32_t VULKAN_PixelShader_Colors[] = {
 	0x07230203,0x00010000,0x0008000b,0x000000a5,0x00000000,0x00020011,0x00000001,0x0006000b,
 	0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
 	0x0007000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x00000049,0x0000004d,0x00030010,

+ 1 - 1
src/render/vulkan/VULKAN_PixelShader_Textures.h

@@ -1,6 +1,6 @@
 	// 1113.1.1
 	 #pragma once
-const uint32_t VULKAN_PixelShader_Textures[] = {
+static const uint32_t VULKAN_PixelShader_Textures[] = {
 	0x07230203,0x00010000,0x0008000b,0x000000ac,0x00000000,0x00020011,0x00000001,0x0006000b,
 	0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
 	0x0008000f,0x00000004,0x00000004,0x6e69616d,0x00000000,0x0000004c,0x0000004f,0x00000053,

+ 1 - 1
src/render/vulkan/VULKAN_VertexShader.h

@@ -1,6 +1,6 @@
 	// 1113.1.1
 	 #pragma once
-const uint32_t VULKAN_VertexShader[] = {
+static const uint32_t VULKAN_VertexShader[] = {
 	0x07230203,0x00010000,0x0008000b,0x000000af,0x00000000,0x00020011,0x00000001,0x0006000b,
 	0x00000001,0x4c534c47,0x6474732e,0x3035342e,0x00000000,0x0003000e,0x00000000,0x00000001,
 	0x000c000f,0x00000000,0x00000004,0x6e69616d,0x00000000,0x0000003f,0x00000043,0x00000047,