mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: Add -fno-strict-aliasing to zzogl-pg's compiler flags. (Fixes FF X-2.)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3415 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
9b896dda0d
commit
83adf0f0d4
|
@ -28,6 +28,7 @@ set(CommonFlags
|
||||||
-Wunused-variable
|
-Wunused-variable
|
||||||
-msse2
|
-msse2
|
||||||
-fno-regmove
|
-fno-regmove
|
||||||
|
-fno-strict-aliasing
|
||||||
-DZEROGS_SSE2
|
-DZEROGS_SSE2
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
<Option createStaticLib="1" />
|
<Option createStaticLib="1" />
|
||||||
<Compiler>
|
<Compiler>
|
||||||
<Add option="-O2" />
|
<Add option="-O2" />
|
||||||
<Add option="-W" />
|
|
||||||
<Add option="-g" />
|
<Add option="-g" />
|
||||||
|
<Add option="-W" />
|
||||||
<Add option="-DZEROGS_DEVBUILD" />
|
<Add option="-DZEROGS_DEVBUILD" />
|
||||||
<Add option="-DNDEBUG" />
|
<Add option="-DNDEBUG" />
|
||||||
</Compiler>
|
</Compiler>
|
||||||
|
@ -70,6 +70,7 @@
|
||||||
<Add option="-L/opt/cg/lib" />
|
<Add option="-L/opt/cg/lib" />
|
||||||
<Add option="-msse2" />
|
<Add option="-msse2" />
|
||||||
<Add option="-fno-regmove" />
|
<Add option="-fno-regmove" />
|
||||||
|
<Add option="-fno-strict-aliasing" />
|
||||||
<Add option="-DZEROGS_SSE2" />
|
<Add option="-DZEROGS_SSE2" />
|
||||||
<Add directory="../../Linux" />
|
<Add directory="../../Linux" />
|
||||||
<Add directory="../../../opengl" />
|
<Add directory="../../../opengl" />
|
||||||
|
|
|
@ -637,7 +637,7 @@ inline void FlushSetContextTarget(VB& curvb, int context)
|
||||||
// Reduce an assert to a warning.
|
// Reduce an assert to a warning.
|
||||||
if (curvb.pdepth->status & CRenderTarget::TS_NeedUpdate)
|
if (curvb.pdepth->status & CRenderTarget::TS_NeedUpdate)
|
||||||
{
|
{
|
||||||
ZZLog::Debug_Log("In FlushSetContextTarget, pdepth is has TS_NeedUpdate set.");
|
ZZLog::Debug_Log("In FlushSetContextTarget, pdepth has TS_NeedUpdate set.");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (!curvb.zbuf.zmsk)
|
if (!curvb.zbuf.zmsk)
|
||||||
|
|
Loading…
Reference in New Issue