diff options
| author | lioncash <mathew1900@hotmail.com> | 2013-01-16 09:42:51 -0500 |
|---|---|---|
| committer | lioncash <mathew1900@hotmail.com> | 2013-01-16 09:42:51 -0500 |
| commit | 87431666639c7036ea0f5b0d499df639cefb3d51 (patch) | |
| tree | de64377a2b1bcfd10374cd5033b22b3f0e59b32e /Source/Plugins/Plugin_VideoDX11/Src/FramebufferManager.cpp | |
| parent | 7e5d877858b5f95fb0c54646998578f7d4720b8b (diff) | |
Made several variables/parameters unsigned in the DX9, DX11 and OGL plugins. They make more sense like this (given their names).
This also gets rid of some more typecasts in some cases.
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/FramebufferManager.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX11/Src/FramebufferManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/FramebufferManager.cpp b/Source/Plugins/Plugin_VideoDX11/Src/FramebufferManager.cpp index cb94884eb7..6d9c0ff232 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/FramebufferManager.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/FramebufferManager.cpp @@ -193,7 +193,7 @@ void FramebufferManager::GetTargetSize(unsigned int *width, unsigned int *height } void XFBSource::Draw(const MathUtil::Rectangle<float> &sourcerc, - const MathUtil::Rectangle<float> &drawrc, int width, int height) const + const MathUtil::Rectangle<float> &drawrc, u32 width, u32 height) const { D3D::drawShadedTexSubQuad(tex->GetSRV(), &sourcerc, texWidth, texHeight, &drawrc, PixelShaderCache::GetColorCopyProgram(false), |
