Update WR, and copy new shaders.

This commit is contained in:
Glenn Watson 2016-10-20 10:31:49 +10:00
parent 6c28d4446a
commit 858970256a
5 changed files with 35 additions and 26 deletions

View file

@ -3,11 +3,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
void main(void) {
#ifdef WR_FEATURE_TRANSFORM
float alpha = 1.f;
#ifdef WR_FEATURE_TRANSFORM
vec2 local_pos = init_transform_fs(vPos, vLocalRect, alpha);
#else
float alpha = 1.f;
vec2 local_pos = vPos;
#endif