diff options
| author | Glenn Rice <glennricster@gmail.com> | 2010-03-07 22:48:37 +0000 |
|---|---|---|
| committer | Glenn Rice <glennricster@gmail.com> | 2010-03-07 22:48:37 +0000 |
| commit | beba3b7f5bc20a8990a2b31569605586c31f43b5 (patch) | |
| tree | 1c52c41c4ca4fdb23af856449ff6dbedaf8584d8 /Source/Plugins/Plugin_VideoSoftware/Src/TextureSampler.cpp | |
| parent | ff7da32c6bb1636808b56cb6a42977bb3aecd51a (diff) | |
Removed more compiler warnings in linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5170 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Plugins/Plugin_VideoSoftware/Src/TextureSampler.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/TextureSampler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/TextureSampler.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/TextureSampler.cpp index 226679fb86..e7001a537b 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/TextureSampler.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/TextureSampler.cpp @@ -98,7 +98,7 @@ void Sample(float s, float t, float lod, u8 texmap, u8 *sample) u8 *imageSrc = g_VideoInitialize.pGetMemoryPointer(imageBase);
bool linear = false;
- if (lod > 0 && tm0.min_filter > 4 || lod <= 0 && tm0.mag_filter)
+ if ((lod > 0 && tm0.min_filter > 4) || (lod <= 0 && tm0.mag_filter))
linear = true;
if (linear)
|
