mirror of https://github.com/PCSX2/pcsx2.git
zzogl: kill a couple of gcc warning
This commit is contained in:
parent
eb947dc325
commit
cdba010794
|
@ -527,23 +527,23 @@ extern char* NamedSaveTex(tex0Info* ptex, int usevid);
|
|||
|
||||
typedef struct
|
||||
{
|
||||
int lcm;
|
||||
int mxl;
|
||||
int mmag;
|
||||
int mmin;
|
||||
int mtba;
|
||||
int l;
|
||||
int k;
|
||||
u32 lcm;
|
||||
u32 mxl;
|
||||
u32 mmag;
|
||||
u32 mmin;
|
||||
u32 mtba;
|
||||
u32 l;
|
||||
u32 k;
|
||||
} tex1Info;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int wms;
|
||||
int wmt;
|
||||
int minu;
|
||||
int maxu;
|
||||
int minv;
|
||||
int maxv;
|
||||
u32 wms;
|
||||
u32 wmt;
|
||||
u32 minu;
|
||||
u32 maxu;
|
||||
u32 minv;
|
||||
u32 maxv;
|
||||
} clampInfo;
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -487,8 +487,12 @@ inline void FlushSetContextTarget(VB& curvb, int context)
|
|||
{
|
||||
if (!curvb.zbuf.zmsk)
|
||||
{
|
||||
#ifdef NDEBUG
|
||||
s_DepthRTs.Promote(GetFrameKey(curvb.pdepth));
|
||||
#else
|
||||
CRenderTarget* ptemp = s_DepthRTs.Promote(GetFrameKey(curvb.pdepth));
|
||||
assert(ptemp == curvb.pdepth);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1668,8 +1672,12 @@ void SetContextTarget(int context)
|
|||
|
||||
if (!curvb.zbuf.zmsk)
|
||||
{
|
||||
#ifdef NDEBUG
|
||||
s_DepthRTs.Promote(curvb.pdepth->fbp | (curvb.pdepth->fbw << 16));
|
||||
#else
|
||||
CRenderTarget* ptemp = s_DepthRTs.Promote(curvb.pdepth->fbp | (curvb.pdepth->fbw << 16));
|
||||
assert(ptemp == curvb.pdepth);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue