[Scummvm-git-logs] scummvm master -> 4e07f31c665ac5fe069d71ee1911ef92262c6736
aquadran
aquadran at gmail.com
Sun Feb 28 11:49:47 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4e07f31c66 ICB: Fixed fillRect, w and h were swapped
Commit: 4e07f31c665ac5fe069d71ee1911ef92262c6736
https://github.com/scummvm/scummvm/commit/4e07f31c665ac5fe069d71ee1911ef92262c6736
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2021-02-28T12:49:40+01:00
Commit Message:
ICB: Fixed fillRect, w and h were swapped
Changed paths:
engines/icb/surface_manager.cpp
diff --git a/engines/icb/surface_manager.cpp b/engines/icb/surface_manager.cpp
index b35347c9ba..c9f94975af 100644
--- a/engines/icb/surface_manager.cpp
+++ b/engines/icb/surface_manager.cpp
@@ -336,7 +336,7 @@ void _surface_manager::Unlock_surface(uint32 s_id) {
}
void _surface_manager::Fill_surface(uint32 s_id, uint32 rgb_value) {
- m_Surfaces[s_id]->m_dds->fillRect(Common::Rect(0, 0, m_Surfaces[s_id]->m_dds->h, m_Surfaces[s_id]->m_dds->w), rgb_value);
+ m_Surfaces[s_id]->m_dds->fillRect(Common::Rect(0, 0, m_Surfaces[s_id]->m_dds->w, m_Surfaces[s_id]->m_dds->h), rgb_value);
}
static void copyRectToSurface(void *dstBuffer, const void *srcBuffer, int srcPitch, int dstPitch, int width, int height,
More information about the Scummvm-git-logs
mailing list