mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 05:23:00 +01:00
Fixed issue #259.
This commit is contained in:
@@ -3759,7 +3759,9 @@ namespace bgfx
|
||||
}
|
||||
}
|
||||
|
||||
writeString(&writer, "precision mediump float;\n");
|
||||
writeStringf(&writer, "precision %s float;\n"
|
||||
, m_type == GL_FRAGMENT_SHADER ? "mediump" : "highp"
|
||||
);
|
||||
|
||||
bx::write(&writer, code, codeLen);
|
||||
bx::write(&writer, '\0');
|
||||
|
||||
Reference in New Issue
Block a user