mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 15:59:04 +08:00
5fa8c717ea
* Fix Irrlicht compilation on OSX * Update port description * Update portfile instructions * Update version * Fix patch files * Add missing cmake dependencies * Remove obsolete comment * Update version * Remove OBJCXX language from project definition to prevent Windows builds from failing * Update versions * Code review tweaks * Update version * Update versions/i-/irrlicht.json Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * Fix qt5-3d build failure on OSX * Update qt5-3d version * Update port-version for qt5-3d * Update version for qt5-3d * [qt5-3d] Revert modification to previous version entry Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> Co-authored-by: Robert Schumacher <ras0219@outlook.com>
29 lines
1.4 KiB
Diff
29 lines
1.4 KiB
Diff
diff --git a/source/Irrlicht/CImageLoaderJPG.cpp b/source/Irrlicht/CImageLoaderJPG.cpp
|
|
index 66144326c..4ea224c24 100644
|
|
--- a/source/Irrlicht/CImageLoaderJPG.cpp
|
|
+++ b/source/Irrlicht/CImageLoaderJPG.cpp
|
|
@@ -68,7 +68,7 @@ void CImageLoaderJPG::init_source (j_decompress_ptr cinfo)
|
|
boolean CImageLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo)
|
|
{
|
|
// DO NOTHING
|
|
- return 1;
|
|
+ return TRUE;
|
|
}
|
|
|
|
|
|
diff --git a/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm b/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
|
|
index 53029eb45..e75b707e1 100644
|
|
--- a/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
|
|
+++ b/source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
|
|
@@ -495,8 +495,8 @@ long GetDictionaryLong(CFDictionaryRef theDict, const void* key)
|
|
if(!CreationParams.WindowId) //load menus if standalone application
|
|
{
|
|
[[NSAutoreleasePool alloc] init];
|
|
- [NSApplication sharedApplication];
|
|
- [NSApp setDelegate:(id<NSFileManagerDelegate>)[[[AppDelegate alloc] initWithDevice:this] autorelease]];
|
|
+ [[NSApplication sharedApplication] activateIgnoringOtherApps];
|
|
+ [NSApp setDelegate:(id<NSApplicationDelegate>)[[[AppDelegate alloc] initWithDevice:this] autorelease]];
|
|
[NSBundle loadNibNamed:@"MainMenu" owner:[NSApp delegate]];
|
|
[NSApp finishLaunching];
|
|
}
|