mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
general: Add missing includes and remove deprecated type
Credit for missing includes to @treamology in Git commit 16cfac482923bc734447d234fd8eaaa99483847d CGTableCount removed; modern macOS seems to call this a uint32_t instead. I can find no reference to CGTableCount in any documentation, and the (very old) source code I dig up just typedefs it anyway.
This commit is contained in:
parent
602ea6ebf4
commit
2d80d6d063
@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
#import "cocoaPandaApp.h"
|
||||
#include "config_cocoadisplay.h"
|
||||
|
||||
@implementation CocoaPandaApp
|
||||
- (void) sendEvent: (NSEvent *) event {
|
||||
|
@ -18,6 +18,8 @@
|
||||
#include "graphicsEngine.h"
|
||||
#include "config_display.h"
|
||||
#include "nativeWindowHandle.h"
|
||||
#include "mouseButton.h"
|
||||
#include "throw_event.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
|
@ -64,7 +64,7 @@ private:
|
||||
CGGammaValue _gOriginalRedTable[ 256 ];
|
||||
CGGammaValue _gOriginalGreenTable[ 256 ];
|
||||
CGGammaValue _gOriginalBlueTable[ 256 ];
|
||||
CGTableCount _sampleCount;
|
||||
uint32_t _sampleCount;
|
||||
CGDisplayErr _cgErr;
|
||||
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user