diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-11-03 11:20:06 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-11-13 22:09:01 +0400 |
commit | 031fd21dfffbe2a5077ac33102df3c3bcdcf56be (patch) | |
tree | 6203b0b6e632bb23de40cd7b89e13262f198ffe2 /src/SubPic/DX7SubPic.cpp | |
parent | f9aae42476327d59761cd8ba489d5ba01cbe3048 (diff) |
Clean up structs/enums.
Diffstat (limited to 'src/SubPic/DX7SubPic.cpp')
-rw-r--r-- | src/SubPic/DX7SubPic.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/SubPic/DX7SubPic.cpp b/src/SubPic/DX7SubPic.cpp index 705bf230d..3ef9c1b4c 100644 --- a/src/SubPic/DX7SubPic.cpp +++ b/src/SubPic/DX7SubPic.cpp @@ -155,8 +155,7 @@ STDMETHODIMP CDX7SubPic::AlphaBlt(RECT* pSrc, RECT* pDst, SubPicDesc* pTarget) struct {
float x, y, z, rhw;
float tu, tv;
- }
- pVertices[] = {
+ } pVertices[] = {
{(float)dst.left, (float)dst.top, 0.5f, 2.0f, (float)src.left / w, (float)src.top / h},
{(float)dst.right, (float)dst.top, 0.5f, 2.0f, (float)src.right / w, (float)src.top / h},
{(float)dst.left, (float)dst.bottom, 0.5f, 2.0f, (float)src.left / w, (float)src.bottom / h},
|