summaryrefslogtreecommitdiff
path: root/gles3_builders.py
diff options
context:
space:
mode:
Diffstat (limited to 'gles3_builders.py')
-rw-r--r--gles3_builders.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/gles3_builders.py b/gles3_builders.py
index 15446d345f..3211e65d07 100644
--- a/gles3_builders.py
+++ b/gles3_builders.py
@@ -410,20 +410,20 @@ def build_gles3_header(filename, include, class_suffix, output_attribs):
const Transform2D &tr = p_transform;
GLfloat matrix[16]={ /* build a 16x16 matrix */
- (GLfloat)tr.elements[0][0],
- (GLfloat)tr.elements[0][1],
+ (GLfloat)tr.columns[0][0],
+ (GLfloat)tr.columns[0][1],
(GLfloat)0,
(GLfloat)0,
- (GLfloat)tr.elements[1][0],
- (GLfloat)tr.elements[1][1],
+ (GLfloat)tr.columns[1][0],
+ (GLfloat)tr.columns[1][1],
(GLfloat)0,
(GLfloat)0,
(GLfloat)0,
(GLfloat)0,
(GLfloat)1,
(GLfloat)0,
- (GLfloat)tr.elements[2][0],
- (GLfloat)tr.elements[2][1],
+ (GLfloat)tr.columns[2][0],
+ (GLfloat)tr.columns[2][1],
(GLfloat)0,
(GLfloat)1
};