GL: Fixed EXT_texture_array.

This commit is contained in:
Branimir Karadžić 2017-05-29 13:08:10 -07:00
parent e5cf5a618d
commit f3b96ef61b

View File

@ -5685,7 +5685,10 @@ namespace bgfx { namespace gl
if (usesTextureArray)
{
writeString(&writer, "#extension GL_EXT_texture_array : enable\n");
writeString(&writer
, "#extension GL_EXT_texture_array : enable\n"
"#define texture2DArrayLodEXT texture2DArrayLod\n"
);
}
if (130 <= version)