Prefix some non-static private methods
This commit is contained in:
parent
6cfccbd20d
commit
7100ebe5a9
|
@ -71,8 +71,8 @@ void APIENTRY glKosInit() {
|
|||
|
||||
initMatrices();
|
||||
initAttributePointers();
|
||||
initContext();
|
||||
initLights();
|
||||
_glInitContext();
|
||||
_glInitLights();
|
||||
initImmediateMode();
|
||||
initFramebuffers();
|
||||
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -86,8 +86,8 @@ PolyList *activePolyList();
|
|||
PolyList *transparentPolyList();
|
||||
|
||||
void initAttributePointers();
|
||||
void initContext();
|
||||
void initLights();
|
||||
void _glInitContext();
|
||||
void _glInitLights();
|
||||
void initImmediateMode();
|
||||
void initMatrices();
|
||||
void initFramebuffers();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user