Prefix some non-static private methods

This commit is contained in:
Luke Benstead 2018-09-15 11:45:38 +01:00
parent 6cfccbd20d
commit 7100ebe5a9
4 changed files with 6 additions and 6 deletions

View File

@ -71,8 +71,8 @@ void APIENTRY glKosInit() {
initMatrices();
initAttributePointers();
initContext();
initLights();
_glInitContext();
_glInitLights();
initImmediateMode();
initFramebuffers();

View File

@ -13,7 +13,7 @@ static GLenum COLOR_MATERIAL_MODE = GL_AMBIENT_AND_DIFFUSE;
static LightSource LIGHTS[MAX_LIGHTS];
static Material MATERIAL;
void initLights() {
void _glInitLights() {
static GLfloat ONE [] = {1.0f, 1.0f, 1.0f, 1.0f};
static GLfloat ZERO [] = {0.0f, 0.0f, 0.0f, 1.0f};
static GLfloat PARTIAL [] = {0.2f, 0.2f, 0.2f, 1.0f};

View File

@ -86,8 +86,8 @@ PolyList *activePolyList();
PolyList *transparentPolyList();
void initAttributePointers();
void initContext();
void initLights();
void _glInitContext();
void _glInitLights();
void initImmediateMode();
void initMatrices();
void initFramebuffers();

View File

@ -233,7 +233,7 @@ GLboolean _glIsColorMaterialEnabled() {
static GLfloat CLEAR_COLOUR[3];
void initContext() {
void _glInitContext() {
memset(&GL_CONTEXT, 0, sizeof(pvr_poly_cxt_t));
GL_CONTEXT.list_type = PVR_LIST_OP_POLY;