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:
parent
6a59aef372
commit
bfeb16e884
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user