summaryrefslogtreecommitdiff
path: root/graphics/osgearth/files/patch-protobuf
blob: 7a745293db8e98591d545bb68291e66bdb1bac7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/osgEarthDrivers/fastdxt/intrinsic.cpp.orig	2023-05-16 14:53:59 UTC
+++ src/osgEarthDrivers/fastdxt/intrinsic.cpp
@@ -45,7 +45,7 @@
 void ExtractBlock_Intrinsics( const byte *inPtr, int width, byte *colorBlock ) 
 {
         __m128i t0, t1, t2, t3;
-	register int w = width << 2;  // width*4
+	int w = width << 2;  // width*4
 
         t0 = _mm_load_si128 ( (__m128i*) inPtr );
         _mm_store_si128 ( (__m128i*) &colorBlock[0], t0 );   // copy first row, 16bytes