mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-31 18:31:04 +00:00
Fix swapped vertex colors on GLES2
This commit is contained in:
parent
2443f1e235
commit
69c70dd319
5 changed files with 23 additions and 3 deletions
|
@ -49,5 +49,9 @@ void main(void)
|
|||
: directional_ambient(normalize(inVertexNormal));
|
||||
#endif
|
||||
|
||||
#ifdef GL_ES
|
||||
varColor = inVertexColor.bgra;
|
||||
#else
|
||||
varColor = inVertexColor;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue