Skip to content

Commit 8edf005

Browse files
committed
downgrade GLSL ver requirement
1 parent 933f907 commit 8edf005

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/src/main/jni/cge/filters/cgeWaveformFilter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
#include <EGL/egl.h>
44

5-
static CGEConstString s_vshWaveform = "#version 320 es\n" CGE_SHADER_STRING_PRECISION_H(
5+
static CGEConstString s_vshWaveform = "#version 310 es\n" CGE_SHADER_STRING_PRECISION_H(
66
layout(location = 0) in vec2 position;
77
layout(location = 0) out vec2 textureCoordinate;
88
void main() {
99
gl_Position = vec4(position, 0.0, 1.0);
1010
textureCoordinate = (position.xy + 1.0) / 2.0;
1111
});
1212

13-
static CGEConstString s_fshWaveform = "#version 320 es\n" CGE_SHADER_STRING(
13+
static CGEConstString s_fshWaveform = "#version 310 es\n" CGE_SHADER_STRING(
1414
precision highp float;
1515
precision highp int;
1616
layout(location = 0) in vec2 textureCoordinate;

0 commit comments

Comments
 (0)