[Video[ rename grDepthBufferMode to gfxDepthBufferMode
This commit is contained in:
parent
d9aa3468b7
commit
c4dc8f587e
|
@ -537,7 +537,7 @@ int InitGfx()
|
|||
gfxVertexLayout(GR_PARAM_FOG_EXT, offsetof(VERTEX, f), GR_PARAM_ENABLE);
|
||||
}
|
||||
|
||||
grDepthBufferMode(GR_DEPTHBUFFER_ZBUFFER);
|
||||
gfxDepthBufferMode(GR_DEPTHBUFFER_ZBUFFER);
|
||||
grDepthBufferFunction(GR_CMP_LESS);
|
||||
grDepthMask(FXTRUE);
|
||||
|
||||
|
@ -547,7 +547,7 @@ int InitGfx()
|
|||
ClearCache();
|
||||
|
||||
gfxCullMode(GR_CULL_DISABLE);
|
||||
grDepthBufferMode(GR_DEPTHBUFFER_ZBUFFER);
|
||||
gfxDepthBufferMode(GR_DEPTHBUFFER_ZBUFFER);
|
||||
grDepthBufferFunction(GR_CMP_ALWAYS);
|
||||
grRenderBuffer(GR_BUFFER_BACKBUFFER);
|
||||
gfxColorMask(FXTRUE, FXTRUE);
|
||||
|
|
|
@ -216,8 +216,7 @@ void gfxCullMode(GrCullMode_t mode)
|
|||
|
||||
// Depth buffer
|
||||
|
||||
FX_ENTRY void FX_CALL
|
||||
grDepthBufferMode(GrDepthBufferMode_t mode)
|
||||
void gfxDepthBufferMode(GrDepthBufferMode_t mode)
|
||||
{
|
||||
WriteTrace(TraceGlitch, TraceDebug, "mode: %d", mode);
|
||||
switch (mode)
|
||||
|
|
|
@ -146,9 +146,7 @@ void gfxCullMode(GrCullMode_t mode)
|
|||
}
|
||||
|
||||
// Depth buffer
|
||||
|
||||
FX_ENTRY void FX_CALL
|
||||
grDepthBufferMode(GrDepthBufferMode_t mode)
|
||||
void gfxDepthBufferMode(GrDepthBufferMode_t mode)
|
||||
{
|
||||
WriteTrace(TraceGlitch, TraceDebug, "mode: %d", mode);
|
||||
switch (mode)
|
||||
|
@ -170,7 +168,7 @@ grDepthBufferMode(GrDepthBufferMode_t mode)
|
|||
default:
|
||||
WriteTrace(TraceGlitch, TraceWarning, "unknown depth buffer mode : %x", mode);
|
||||
}
|
||||
grDisplayGLError("grDepthBufferMode");
|
||||
grDisplayGLError("gfxDepthBufferMode");
|
||||
}
|
||||
|
||||
FX_ENTRY void FX_CALL
|
||||
|
|
|
@ -42,8 +42,8 @@ void gfxTexColorCombineExt(GrChipID_t tmu, GrTCCUColor_t a, GrCombineMode_t a_mo
|
|||
void gfxTexAlphaCombineExt(GrChipID_t tmu, GrTACUColor_t a, GrCombineMode_t a_mode, GrTACUColor_t b, GrCombineMode_t b_mode, GrTACUColor_t c, FxBool c_invert, GrTACUColor_t d, FxBool d_invert, FxU32 shift, FxBool invert);
|
||||
void gfxConstantColorValueExt(GrChipID_t tmu, GrColor_t value);
|
||||
void gfxVertexLayout(FxU32 param, FxI32 offset, FxU32 mode);
|
||||
void gfxVertexLayout(GrCullMode_t mode);
|
||||
void gfxCullMode(GrCullMode_t mode);
|
||||
void gfxDepthBufferMode(GrDepthBufferMode_t mode);
|
||||
|
||||
extern uint32_t nbTextureUnits;
|
||||
extern uint32_t g_scr_res_x, g_scr_res_y, g_res_x, g_res_y;
|
||||
|
|
Loading…
Reference in New Issue