GLES3: Fixed issue #259.
This commit is contained in:
parent
a23933da9a
commit
6ec06fadfc
@ -5958,9 +5958,10 @@ namespace bgfx { namespace gl
|
||||
{
|
||||
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES >= 30) )
|
||||
{
|
||||
writeString(&writer
|
||||
writeStringf(&writer
|
||||
, "#version 300 es\n"
|
||||
"precision mediump float;\n"
|
||||
"precision %s float;\n"
|
||||
, m_type == GL_FRAGMENT_SHADER ? "mediump" : "highp"
|
||||
);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user