[Video] Rename grEnable to gfxEnable
This commit is contained in:
parent
c9b5c7190d
commit
c8174a3ee9
|
@ -473,7 +473,7 @@ int InitGfx()
|
|||
// 2Mb Texture boundary
|
||||
voodoo.has_2mb_tex_boundary = (SST_type < GR_SSTTYPE_Banshee) && !evoodoo;
|
||||
// we get better texture cache hits with UMA on
|
||||
grEnable(GR_TEXTURE_UMA_EXT);
|
||||
gfxEnable(GR_TEXTURE_UMA_EXT);
|
||||
WriteTrace(TraceGlide64, TraceDebug, "Using TEXUMA extension");
|
||||
|
||||
ChangeSize();
|
||||
|
|
|
@ -1667,8 +1667,7 @@ void grConfigWrapperExt(FxI32 vram, FxBool fbo, FxBool aniso)
|
|||
config.anisofilter = aniso;
|
||||
}
|
||||
|
||||
FX_ENTRY void FX_CALL
|
||||
grEnable(GrEnableMode_t mode)
|
||||
void gfxEnable(GrEnableMode_t mode)
|
||||
{
|
||||
WriteTrace(TraceGlitch, TraceDebug, "-");
|
||||
if (mode == GR_TEXTURE_UMA_EXT)
|
||||
|
|
|
@ -1932,8 +1932,7 @@ void grConfigWrapperExt(FxI32 vram, FxBool fbo, FxBool aniso)
|
|||
config.anisofilter = aniso;
|
||||
}
|
||||
|
||||
FX_ENTRY void FX_CALL
|
||||
grEnable(GrEnableMode_t mode)
|
||||
void gfxEnable(GrEnableMode_t mode)
|
||||
{
|
||||
WriteTrace(TraceGlitch, TraceDebug, "-");
|
||||
if (mode == GR_TEXTURE_UMA_EXT)
|
||||
|
|
|
@ -64,6 +64,7 @@ FxBool gfxLfbUnlock(GrLock_t type, GrBuffer_t buffer);
|
|||
FxBool gfxLfbReadRegion(GrBuffer_t src_buffer, FxU32 src_x, FxU32 src_y, FxU32 src_width, FxU32 src_height, FxU32 dst_stride, void *dst_data);
|
||||
FxBool gfxLfbWriteRegion(GrBuffer_t dst_buffer, FxU32 dst_x, FxU32 dst_y, GrLfbSrcFmt_t src_format, FxU32 src_width, FxU32 src_height, FxBool pixelPipeline, FxI32 src_stride, void *src_data);
|
||||
FxU32 gfxTexCalcMemRequired(GrLOD_t lodmin, GrLOD_t lodmax, GrAspectRatio_t aspect, GrTextureFormat_t fmt);
|
||||
void gfxEnable(GrEnableMode_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