0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

Fix bug with matrix rotation function

This commit is contained in:
jp9000 2014-04-26 23:44:27 -07:00
parent 6a59aef372
commit bfeb16e884

View File

@ -305,7 +305,7 @@ void gs_matrix_rotaa4f(float x, float y, float z, float angle)
struct matrix3 *top_mat = top_matrix(thread_graphics);
struct axisang aa;
if (!top_mat) {
if (top_mat) {
axisang_set(&aa, x, y, z, angle);
matrix3_rotate_aa(top_mat, top_mat, &aa);
}