Skip to content

Commit 6797aea

Browse files
authored
Merge pull request #64 from jolivain/fix_extension
index.html: swap precision and #extension directives.
2 parents 6b9d6ad + 666ace3 commit 6797aea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@
6363
<script src="js/codemirror.js"></script>
6464
<script src="js/glsl.js"></script>
6565

66-
<script id="example" type="x-shader/x-fragment">precision mediump float;
66+
<script id="example" type="x-shader/x-fragment">#extension GL_OES_standard_derivatives : enable
6767

68-
#extension GL_OES_standard_derivatives : enable
68+
precision mediump float;
6969

7070
uniform float time;
7171
uniform vec2 mouse;

0 commit comments

Comments
 (0)