This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The KallistiOS port of OpenGL.".
The branch, master has been updated
via 2b37d7ba613c8d9b262de38594bb9d6745e4ed1a (commit)
from 704a46e8dc9a4b0015c3949fa6123a1295f7506d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2b37d7ba613c8d9b262de38594bb9d6745e4ed1a
Author: Josh Pearson <ph...@us...>
Date: Sat Dec 13 15:50:47 2014 -0800
Fixed change that removed allignment on L vector on gl-light.c
-----------------------------------------------------------------------
Summary of changes:
gl-light.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gl-light.c b/gl-light.c
index ad68a8f..a4c3ddd 100755
--- a/gl-light.c
+++ b/gl-light.c
@@ -408,7 +408,7 @@ void _glKosVertexLights(glVertex *P, pvr_vertex_t *v, GLuint count) {
float S;
#endif
unsigned char i;
- float L[4];
+ float L[4] __attribute__((aligned(8)));
float C[3] = { 0, 0, 0 };
colorui *color = (colorui *)&v->argb;
@@ -458,7 +458,7 @@ void _glKosVertexLight(glVertex *P, pvr_vertex_t *v) {
float S;
#endif
unsigned char i;
- float L[4];
+ float L[4] __attribute__((aligned(8)));
/* Compute Ambient */
float C[3] = { GL_MATERIAL.Ke[0] + GL_MATERIAL.Ka[0] *GL_GLOBAL_AMBIENT[0],
@@ -503,7 +503,7 @@ GLuint _glKosVertexLightColor(glVertex *P) {
#endif
GLuint color;
GLubyte i;
- float L[4];
+ float L[4] __attribute__((aligned(8)));
/* Compute Ambient */
float C[3] = { GL_MATERIAL.Ke[0] + GL_MATERIAL.Ka[0] *GL_GLOBAL_AMBIENT[0],
hooks/post-receive
--
The KallistiOS port of OpenGL.
|