mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-26 04:12:07 +00:00
Tech ENABLE_LEGACY_OPENGL_REMOVAL - porting remaining changes
(cherry picked from commit prusa3d/PrusaSlicer@2f572d3cf0 )
This commit is contained in:
committed by
Noisyfox
parent
9f4713eee8
commit
71fd4084c2
@@ -2,9 +2,10 @@
|
||||
|
||||
attribute vec3 v_position;
|
||||
|
||||
uniform mat4 projection_view_model_matrix;
|
||||
uniform mat4 view_model_matrix;
|
||||
uniform mat4 projection_matrix;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection_view_model_matrix * vec4(v_position, 1.0);
|
||||
gl_Position = projection_matrix * view_model_matrix * vec4(v_position, 1.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user