1
0
Fork 0

(svn r25711) -Fix: don't use NULL as integer

release/1.4
fonsinchen 2013-08-10 12:47:18 +00:00
parent a9fde2856c
commit f42d60150d
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ class FullscreenSubdriver: public CocoaSubdriver {
* disable until a replacement can be found. */ * disable until a replacement can be found. */
if (MacOSVersionIsAtLeast(10, 7, 0)) { if (MacOSVersionIsAtLeast(10, 7, 0)) {
this->window_buffer = NULL; this->window_buffer = NULL;
this->window_pitch = NULL; this->window_pitch = 0;
} else { } else {
#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7) #if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7)
this->window_buffer = CGDisplayBaseAddress(this->display_id); this->window_buffer = CGDisplayBaseAddress(this->display_id);