[Scummvm-git-logs] scummvm master -> 05b72a8896a2628be70da3bd4f5b017a7ee426ae

bluegr bluegr at gmail.com
Tue Mar 23 23:05:20 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:
05b72a8896 GRAPHICS: Remove deprecated register keyword


Commit: 05b72a8896a2628be70da3bd4f5b017a7ee426ae
    https://github.com/scummvm/scummvm/commit/05b72a8896a2628be70da3bd4f5b017a7ee426ae
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-03-24T01:05:17+02:00

Commit Message:
GRAPHICS: Remove deprecated register keyword

Changed paths:
    graphics/scaler/hq.cpp


diff --git a/graphics/scaler/hq.cpp b/graphics/scaler/hq.cpp
index 68419979ae..c0dd6fe847 100644
--- a/graphics/scaler/hq.cpp
+++ b/graphics/scaler/hq.cpp
@@ -223,7 +223,7 @@ template<typename ColorMask>
 static void HQ2x_implementation(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
 	typedef typename ColorMask::PixelType Pixel;
 
-	register int w1, w2, w3, w4, w5, w6, w7, w8, w9;
+	int w1, w2, w3, w4, w5, w6, w7, w8, w9;
 
 	const uint32 nextlineSrc = srcPitch / sizeof(Pixel);
 	const Pixel *p = (const Pixel *)srcPtr;
@@ -2160,7 +2160,7 @@ template<typename ColorMask>
 static void HQ3x_implementation(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
 	typedef typename ColorMask::PixelType Pixel;
 
-	register int  w1, w2, w3, w4, w5, w6, w7, w8, w9;
+	int  w1, w2, w3, w4, w5, w6, w7, w8, w9;
 
 	const uint32 nextlineSrc = srcPitch / sizeof(Pixel);
 	const Pixel *p = (const Pixel *)srcPtr;




More information about the Scummvm-git-logs mailing list