GregMiscellaneous: zzogl-pg: * Revert previous commit and remove the = overloading

git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3970 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut@gmail.com 2010-10-25 17:34:10 +00:00
parent d99d8d5745
commit 6eedbaf346
1 changed files with 1 additions and 17 deletions

View File

@ -58,14 +58,7 @@ struct VertexGPU
// gained from XYZ2, XYZ3, XYZF2, XYZF3, // gained from XYZ2, XYZ3, XYZF2, XYZF3,
// X -- bits 0-15, Y-16-31. Z - 32-63 if no F used, 32-55 otherwise, F (fog) - 56-63 // X -- bits 0-15, Y-16-31. Z - 32-63 if no F used, 32-55 otherwise, F (fog) - 56-63
// X, Y stored in 12d3 format, // X, Y stored in 12d3 format,
union // Allow faster copy of the structure s16 x, y;
{
struct
{
s16 x, y;
};
u32 xy;
};
s16 f, resv0; s16 f, resv0;
// Vertex color settings. RGB -- luminance of red/green/blue, A -- alpha. 1.0 == 0x80. // Vertex color settings. RGB -- luminance of red/green/blue, A -- alpha. 1.0 == 0x80.
@ -95,15 +88,6 @@ struct VertexGPU
{ {
f = ((s16)(v).f << 7) | 0x7f; f = ((s16)(v).f << 7) | 0x7f;
} }
void operator = (const VertexGPU &v) {
xy = v.xy;
rgba = v.rgba;
z = v.z;
s = v.s;
t = v.t;
q = v.q;
}
}; };
extern GSconf conf; extern GSconf conf;