Fix: [MacOS] screen looks blue-ish when using newer SDKs (#11207)
The define kCGBitmapByteOrder32Host changed (around SDK 12?)
into an enum, which means an old #ifndef was triggering,
overwriting the value to 0. Sadly, 0 means Order16Big, causing
RGBA to become GRAB, which results in strange colours.
As we no longer support PPC, drop that piece of code completely.
(cherry picked from commit 5ac333c2cc)
			
			
This commit is contained in:
		 Patric Stout
					Patric Stout
				
			
				
					committed by
					
						 Jonathan G Rennison
						Jonathan G Rennison
					
				
			
			
				
	
			
			
			 Jonathan G Rennison
						Jonathan G Rennison
					
				
			
						parent
						
							c890f96d07
						
					
				
				
					commit
					66b324a4c0
				
			| @@ -64,13 +64,6 @@ | ||||
|  * Read http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html for more information. | ||||
|  */ | ||||
|  | ||||
| /* On some old versions of MAC OS this may not be defined. | ||||
|  * Those versions generally only produce code for PPC. So it should be safe to | ||||
|  * set this to 0. */ | ||||
| #ifndef kCGBitmapByteOrder32Host | ||||
| #define kCGBitmapByteOrder32Host 0 | ||||
| #endif | ||||
|  | ||||
| bool _cocoa_video_started = false; | ||||
|  | ||||
| extern bool _tab_is_down; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user