markusfisch/ShaderEditor

Bug : editing in Nox emulator insert default source code .

Opened this issue · 1 comments

Possible bug. I tested it on Windows 10. I tried to use the editing in the Nox emulator. There is a bug somewhere if you try to copy paste the source code or the cut operation... in the editor area the initial source code is duplicated.
I think need to be fix and add more options for editor.

This part is duplicate several times

#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif

when I try to change this part :

void mainImage( out vec4 fragColor, in vec2 fragCoord )
{
 uv = fragCoord.xy / resolution.x;

void main() {
	vec4 fragment_color;
	mainImage(fragment_color, gl_FragCoord.xy);
	gl_FragColor = fragment_color;
}

Hm, that's clearly a bug. Sorry about that.

Unfortunately I can't reproduce this on Android 🤔