Palm-Studios / sh3redux

SILENT HILL 3 Engine Remake in OpenGL and C++
GNU General Public License v3.0
162 stars 16 forks source link

Fixed build error due to camera.cpp #144

Closed Quaker762 closed 5 years ago

Quaker762 commented 5 years ago

Fixed the following error in gcc:

error: call to non-'constexpr' function 'glm::vec<3, T, Q>::vec(X, Y, Z) [with X = int; Y = int; Z = int; T = float; glm::qualifier Q = (glm::qualifier)0]'

This is due to the constexpr keyword being incompatible with SIMD compiler intrinsics.