We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/PistonDevelopers/opengl_graphics/blob/master/src/back_end.rs#L90
Here, we bind to "o_Color" even when the OpenGL version is 2.1.
let c_o_color = CString::new("o_Color").unwrap(); if cfg!(not(target_os = "emscripten")) { gl::BindFragDataLocation(program, 0, c_o_color.as_ptr()); } drop(c_o_color);
https://github.com/PistonDevelopers/shaders/blob/master/graphics2d/colored/120.glslf#L5
The GLSL version for OpenGL 2.1 is 120, but this shader has no "o_Color", but uses "gl_FragColor" instead, a built-in variable.
#version 120 varying vec4 v_Color; void main() { gl_FragColor = v_Color; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/PistonDevelopers/opengl_graphics/blob/master/src/back_end.rs#L90
Here, we bind to "o_Color" even when the OpenGL version is 2.1.
https://github.com/PistonDevelopers/shaders/blob/master/graphics2d/colored/120.glslf#L5
The GLSL version for OpenGL 2.1 is 120, but this shader has no "o_Color", but uses "gl_FragColor" instead, a built-in variable.
The text was updated successfully, but these errors were encountered: