mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 05:01:10 -06:00
Follow-up of 316d38807d -> Modified shader to work on (buggy) Intel graphics card
This commit is contained in:
parent
326fb51316
commit
0b654e1518
1 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,8 @@ varying vec2 tex_coords;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position, 1.0);
|
gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position.x, v_position.y, v_position.z, 1.0);
|
||||||
|
// the following line leads to crash on some Intel graphics card
|
||||||
|
//gl_Position = gl_ModelViewProjectionMatrix * vec4(v_position, 1.0);
|
||||||
tex_coords = v_tex_coords;
|
tex_coords = v_tex_coords;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue