diff options
| author | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-09-20 17:31:54 +0000 |
|---|---|---|
| committer | Sonicadvance1 <sonicadvance1@gmail.com> | 2008-09-20 17:31:54 +0000 |
| commit | 720efb825d8c91eb5f2b5f6aa24e8f4daeedb4db (patch) | |
| tree | ab96e70a7da4a79be15e2a835fb1da78b001bdd3 /Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp | |
| parent | 66011849cd5f66c53b7e046bfbffe41711c835d3 (diff) | |
Linux: I made Sconscript call wx-config inside of the main SConstruct, added a nowx argument, Made the filesystemviewer use the correct struct and fixed a silly scissor error that was made
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@589 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp b/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp index 282d29adad..50db2d00b7 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/BPStructs.cpp @@ -561,9 +561,9 @@ void SetColorMask() bool SetScissorRect()
{
- int xoff = bpmem.scissorOffset.x*2-342;
- int yoff = bpmem.scissorOffset.y*2-342;
- //printf("xoff: %d yoff: %d\n", xoff, yoff);
+ int xoff = bpmem.scissorOffset.x * 2 - 342;
+ int yoff = bpmem.scissorOffset.y * 2 - 342;
+
RECT rc;
rc.left = bpmem.scissorTL.x + xoff - 342;
rc.left *= MValueX;
@@ -572,10 +572,10 @@ bool SetScissorRect() rc.top *= MValueY;
if (rc.top < 0) rc.top = 0;
- rc.right = bpmem.scissorBR.x + xoff - 342 +1;
+ rc.right = bpmem.scissorBR.x + xoff - 342;
rc.right *= MValueX;
if (rc.right > 640 * MValueX) rc.right = 640 * MValueX;
- rc.bottom = bpmem.scissorBR.y + yoff - 342 +1;
+ rc.bottom = bpmem.scissorBR.y + yoff - 342;
rc.bottom *= MValueY;
if (rc.bottom > 480 * MValueY) rc.bottom = 480 * MValueY;
|
