Skip to content
Snippets Groups Projects
Commit 1dc1e86d authored by Brad Linden's avatar Brad Linden
Browse files

Fix SL-19191 mac crash on startup for apple silicon machines.

parent 95de63ea
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
...@@ -143,6 +143,7 @@ void main() ...@@ -143,6 +143,7 @@ void main()
//transform vertex //transform vertex
vec4 vert = modelview_projection_matrix * vec4(position.xyz, 1.0); vec4 vert = modelview_projection_matrix * vec4(position.xyz, 1.0);
gl_Position = vert; gl_Position = vert;
vary_position = vert.xyz;
basecolor_texcoord = (texture_matrix0 * vec4(texture_basecolor_matrix * vec3(texcoord0,1), 1)).xy; basecolor_texcoord = (texture_matrix0 * vec4(texture_basecolor_matrix * vec3(texcoord0,1), 1)).xy;
emissive_texcoord = (texture_matrix0 * vec4(texture_emissive_matrix * vec3(texcoord0,1), 1)).xy; emissive_texcoord = (texture_matrix0 * vec4(texture_emissive_matrix * vec3(texcoord0,1), 1)).xy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment