Skip to content
New issue

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

[2.3] Build-fix for x86. #195

Merged
merged 1 commit into from Apr 29, 2021
Merged

[2.3] Build-fix for x86. #195

merged 1 commit into from Apr 29, 2021

Conversation

przemir
Copy link
Contributor

@przemir przemir commented Apr 29, 2021

Build-fix: passing ArrayVector3 cameraPos and ArrayVector3 cameraDir as variable caused problems for x86 build with OGRE_SIMD_SSE2 option.

There were errors:
error C2719: 'cameraPos': formal parameter with requested alignment of 16 won't be aligned
error C2719: 'cameraDir': formal parameter with requested alignment of 16 won't be aligned

Changed to passing those variables as const references solved this problem.

…as variable caused problems for x86 build with OGRE_SIMD_SSE2 option. Changed to passing those variables as const references instead.
@darksylinc darksylinc merged commit 253e829 into OGRECave:master Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants