From bfeb16e884c2db1cf93f73e6632c35613591a28f Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 26 Apr 2014 23:44:27 -0700 Subject: [PATCH] Fix bug with matrix rotation function --- libobs/graphics/graphics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/graphics/graphics.c b/libobs/graphics/graphics.c index 5c60d5def..12533615e 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); } -- GitLab