Skip to content

Commit

Permalink
Switch to mediump floats in fragment shaders for compatability; close p…
Browse files Browse the repository at this point in the history
  • Loading branch information
phoboslab committed Dec 10, 2014
1 parent 86f9f48 commit c9e7de0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsmpg.js
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ var

// Shaders for accelerated WebGL YCbCrToRGBA conversion
SHADER_FRAGMENT_YCBCRTORGBA = [
'precision highp float;',
'precision mediump float;',
'uniform sampler2D YTexture;',
'uniform sampler2D CBTexture;',
'uniform sampler2D CRTexture;',
Expand All @@ -2325,7 +2325,7 @@ var
].join('\n'),

SHADER_FRAGMENT_LOADING = [
'precision highp float;',
'precision mediump float;',
'uniform float loaded;',
'varying vec2 texCoord;',

Expand Down

0 comments on commit c9e7de0

Please sign in to comment.