mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 14:15:41 +12:00
GLES <= 3.1 lacks fma, added a define
This commit is contained in:
parent
1674ad5a2c
commit
e421f02500
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ std::string FragmentGenerator::getDefaultVertexShader() {
|
|||
if (api == API::GLES) {
|
||||
ret += R"(
|
||||
#define USING_GLES 1
|
||||
#define fma(a, b, c) ((a) * (b) + (c))
|
||||
|
||||
precision mediump int;
|
||||
precision mediump float;
|
||||
|
|
Loading…
Add table
Reference in a new issue