mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r25711) -Fix: don't use NULL as integer
This commit is contained in:
parent
a9fde2856c
commit
f42d60150d
@ -313,7 +313,7 @@ class FullscreenSubdriver: public CocoaSubdriver {
|
||||
* disable until a replacement can be found. */
|
||||
if (MacOSVersionIsAtLeast(10, 7, 0)) {
|
||||
this->window_buffer = NULL;
|
||||
this->window_pitch = NULL;
|
||||
this->window_pitch = 0;
|
||||
} else {
|
||||
#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7)
|
||||
this->window_buffer = CGDisplayBaseAddress(this->display_id);
|
||||
|
Loading…
Reference in New Issue
Block a user