Fixed VS build.

This commit is contained in:
Branimir Karadžić 2016-12-06 09:23:22 -08:00
parent 02cd83ff31
commit ec15f0a01f
2 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ namespace bgfx
for (const EmbeddedShader::Data* esd = es->data; RendererType::Count != esd->type; ++esd)
{
if (_type == esd->type
&& 0 < esd->size)
&& 1 < esd->size)
{
return createShader(makeRef(esd->data, esd->size) );
}

View File

@ -22,7 +22,7 @@ static const uint8_t fs_texture_array_glsl[329] =
0x72, 0x61, 0x6d, 0x73, 0x2e, 0x78, 0x29, 0x20, 0x2a, 0x20, 0x76, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, // rams.x) * v_colo
0x72, 0x30, 0x29, 0x3b, 0x0a, 0x7d, 0x0a, 0x0a, 0x00, // r0);.}...
};
static const uint8_t fs_texture_array_dx9[] = {};
static const uint8_t fs_texture_array_dx9[] = { 0 };
static const uint8_t fs_texture_array_dx11[488] =
{
0x46, 0x53, 0x48, 0x04, 0x01, 0x83, 0xf2, 0xe1, 0x02, 0x00, 0x08, 0x75, 0x5f, 0x70, 0x61, 0x72, // FSH........u_par