From: Lawrence S. <ljs...@us...> - 2020-09-17 01:09:51
|
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 dadcadc2d7c905bec148500460bcfedf1cca84f0 (commit) from 6d55e4c7460e0236ab5d1cc983e62411b75b1390 (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 dadcadc2d7c905bec148500460bcfedf1cca84f0 Author: Lawrence Sebald <ljs...@us...> Date: Wed Sep 16 21:09:42 2020 -0400 More inline fixes. ----------------------------------------------------------------------- Summary of changes: gl-api.h | 1 - gl-pvr.c | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gl-api.h b/gl-api.h index 7ba95e3..f2eca8f 100644 --- a/gl-api.h +++ b/gl-api.h @@ -66,7 +66,6 @@ void _glKosVertexBufAdd(unsigned int count); void _glKosTRVertexBufAdd(unsigned int count); void _glKosVertexBufDecrement(); void _glKosVertexBufReset(); -inline unsigned int _glKosVertexBufCount(unsigned char list); unsigned char _glKosList(); void _glKosVertexBufCopy(void *src, void *dst, GLuint count); void _glKosResetEnabledTex(); diff --git a/gl-pvr.c b/gl-pvr.c index 5995989..d31877e 100644 --- a/gl-pvr.c +++ b/gl-pvr.c @@ -103,7 +103,7 @@ inline void _glKosPushMultiTexObject(GL_TEXTURE_OBJECT *tex, GL_MTOBJS[GL_MTOBJECTS++].count = count; } -inline void _glKosResetMultiTexObject() { +static inline void _glKosResetMultiTexObject() { GL_MTOBJECTS = 0; } @@ -139,7 +139,7 @@ inline void _glKosClipBufIncrement() { ++GL_CVERTS; } -inline void _glKosClipBufAdd(GLuint count) { +void _glKosClipBufAdd(GLuint count) { GL_CVERTS += count; } @@ -191,7 +191,7 @@ inline void _glKosVertexBufReset() { GL_VERTS[0] = GL_VERTS[1] = 0; } -inline GLuint _glKosVertexBufCount(GLubyte list) { +staic inline GLuint _glKosVertexBufCount(GLubyte list) { return GL_VERTS[list]; } hooks/post-receive -- The KallistiOS port of OpenGL. |