[mutter/gbsneto/graphene-matrix: 26/71] cogl/matrix: Don't debug-print inverse*matrix
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/graphene-matrix: 26/71] cogl/matrix: Don't debug-print inverse*matrix
- Date: Sun, 20 Sep 2020 21:39:40 +0000 (UTC)
commit 6ef0d0292fb9aabecb647ddaf5f6f8fa11e80f1e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Sep 10 14:10:28 2020 -0300
cogl/matrix: Don't debug-print inverse*matrix
All multiplication functions need to go away eventually, and this is
the penultimate place we're ising the 4x4 multiplication function.
Remove it.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1439
cogl/cogl/cogl-matrix.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/cogl/cogl/cogl-matrix.c b/cogl/cogl/cogl-matrix.c
index 97e52a5c13..904a6edb71 100644
--- a/cogl/cogl/cogl-matrix.c
+++ b/cogl/cogl/cogl-matrix.c
@@ -390,13 +390,7 @@ _cogl_matrix_prefix_print (const char *prefix, const CoglMatrix *matrix)
print_matrix_floats (prefix, (float *)matrix);
g_print ("%sInverse: \n", prefix);
if (!(matrix->flags & MAT_DIRTY_INVERSE))
- {
- float prod[16];
- print_matrix_floats (prefix, matrix->inv);
- matrix_multiply4x4 (prod, (float *)matrix, matrix->inv);
- g_print ("%sMat * Inverse:\n", prefix);
- print_matrix_floats (prefix, prod);
- }
+ print_matrix_floats (prefix, matrix->inv);
else
g_print ("%s - not available\n", prefix);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]