diff --git a/libobs/graphics/graphics.c b/libobs/graphics/graphics.c index 5c60d5defb7fc346b140bc05afd463f67d66ca8d..12533615e2ddbf4f8af2fb00f27b0a5f46efa51e 100644 --- a/libobs/graphics/graphics.c +++ b/libobs/graphics/graphics.c @@ -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); }