Fixed warnings building with Visual Studio

This commit is contained in:
Sam Lantinga
2024-09-05 20:09:48 -07:00
parent 8edb901724
commit 379aea5c2d
8 changed files with 34 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
const unsigned char color_frag_sm50_dxbc[] =
const signed char color_frag_sm50_dxbc[] =
{
68, 88, 66, 67, 114,-117,
-124, 82, -97, 76, -66, -74,
@@ -82,4 +82,4 @@ const unsigned char color_frag_sm50_dxbc[] =
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
};
};

View File

@@ -1,4 +1,4 @@
const unsigned char linepoint_vert_sm50_dxbc[] =
const signed char linepoint_vert_sm50_dxbc[] =
{
68, 88, 66, 67, 0, 119,
101, -18, 103, 113, 34, 52,
@@ -169,4 +169,4 @@ const unsigned char linepoint_vert_sm50_dxbc[] =
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0, 0, 0
};
};

View File

@@ -1,4 +1,4 @@
const unsigned char texture_rgb_frag_sm50_dxbc[] =
const signed char texture_rgb_frag_sm50_dxbc[] =
{
68, 88, 66, 67, -22, -54,
-48, 73, -47, -40, -92, -21,
@@ -120,4 +120,4 @@ const unsigned char texture_rgb_frag_sm50_dxbc[] =
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
};
};

View File

@@ -1,4 +1,4 @@
const unsigned char texture_rgba_frag_sm50_dxbc[] =
const signed char texture_rgba_frag_sm50_dxbc[] =
{
68, 88, 66, 67, -83, 124,
-3, -84,-102, 126, 29, -62,
@@ -117,4 +117,4 @@ const unsigned char texture_rgba_frag_sm50_dxbc[] =
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
};
};

View File

@@ -1,4 +1,4 @@
const unsigned char tri_color_vert_sm50_dxbc[] =
const signed char tri_color_vert_sm50_dxbc[] =
{
68, 88, 66, 67, -99, -1,
-83, -50, 75, -96, -1, 28,
@@ -175,4 +175,4 @@ const unsigned char tri_color_vert_sm50_dxbc[] =
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0
};
};

View File

@@ -1,4 +1,4 @@
const unsigned char tri_texture_vert_sm50_dxbc[] =
const signed char tri_texture_vert_sm50_dxbc[] =
{
68, 88, 66, 67, 108, 113,
-108, 81, -2, 27, 41, 94,
@@ -192,4 +192,4 @@ const unsigned char tri_texture_vert_sm50_dxbc[] =
0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,
0, 0
};
};