diff options
author | theuni <theuni-nospam-@xbmc.org> | 2012-01-02 22:29:23 -0500 |
---|---|---|
committer | Trent Nelson <trent.a.b.nelson@gmail.com> | 2013-09-15 20:59:26 -0400 |
commit | 1ce32971bafca197e3dac9d4e6af2377e0ccf5e9 (patch) | |
tree | f1b69970b63dcd74321932a397d0ac4480129c03 /system/shaders | |
parent | de2421ce7ea0901b3c863d103199d3cbd6c4e38a (diff) |
[GLES] Batch textures and their borders
Gives a considerable speedup in scenes with many bordered images
(like settings).
Diffstat (limited to 'system/shaders')
-rw-r--r-- | system/shaders/guishader_frag_default.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/shaders/guishader_frag_default.glsl b/system/shaders/guishader_frag_default.glsl index b622d67815..3e36a3d0d3 100644 --- a/system/shaders/guishader_frag_default.glsl +++ b/system/shaders/guishader_frag_default.glsl @@ -19,10 +19,10 @@ */ precision mediump float; -varying lowp vec4 m_colour; +uniform lowp vec4 m_unicol; // SM_DEFAULT shader void main () { - gl_FragColor = m_colour; + gl_FragColor = m_unicol; } |