Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
Irrlicht New
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Irrlicht New
Commits
651d8c6f
Commit
651d8c6f
authored
Jun 03, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:mercury233/irrlicht into develop
parents
0b7ca349
456556db
Pipeline
#37137
passed with stages
in 2 minutes and 25 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
source/Irrlicht/CIrrDeviceWin32.cpp
source/Irrlicht/CIrrDeviceWin32.cpp
+3
-0
source/Irrlicht/COpenGLDriver.cpp
source/Irrlicht/COpenGLDriver.cpp
+4
-4
source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
+6
-5
No files found.
source/Irrlicht/CIrrDeviceWin32.cpp
View file @
651d8c6f
...
...
@@ -37,6 +37,9 @@
#endif
#endif
#endif
#ifdef _MSC_VER
#pragma comment(lib, "imm32.lib")
#endif
namespace
irr
{
...
...
source/Irrlicht/COpenGLDriver.cpp
View file @
651d8c6f
...
...
@@ -143,10 +143,10 @@ bool COpenGLDriver::initDriver(CIrrDeviceWin32* device)
PIXELFORMATDESCRIPTOR
pfd
=
{
sizeof
(
PIXELFORMATDESCRIPTOR
),
// Size Of This Pixel Format Descriptor
1
,
// Version Number
PFD_DRAW_TO_WINDOW
|
// Format Must Support Window
PFD_SUPPORT_OPENGL
|
// Format Must Support OpenGL
(
Params
.
Doublebuffer
?
PFD_DOUBLEBUFFER
:
0
)
|
// Must Support Double Buffering
(
Params
.
Stereobuffer
?
PFD_STEREO
:
0
),
// Must Support Stereo Buffer
static_cast
<
DWORD
>
(
PFD_DRAW_TO_WINDOW
|
// Format Must Support Window
PFD_SUPPORT_OPENGL
|
// Format Must Support OpenGL
(
Params
.
Doublebuffer
?
PFD_DOUBLEBUFFER
:
0
)
|
// Must Support Double Buffering
(
Params
.
Stereobuffer
?
PFD_STEREO
:
0
)
),
// Must Support Stereo Buffer
PFD_TYPE_RGBA
,
// Request An RGBA Format
Params
.
Bits
,
// Select Our Color Depth
0
,
0
,
0
,
0
,
0
,
0
,
// Color Bits Ignored
...
...
source/Irrlicht/MacOSX/CIrrDeviceMacOSX.mm
View file @
651d8c6f
...
...
@@ -482,7 +482,6 @@ CIrrDeviceMacOSX::CIrrDeviceMacOSX(const SIrrlichtCreationParameters& param)
IsActive
(
true
),
IsFullscreen
(
false
),
IsShiftDown
(
false
),
IsControlDown
(
false
),
IsResizable
(
false
)
{
struct
utsname
name
;
NSString
*
path
;
#ifdef _DEBUG
setDebugName
(
"CIrrDeviceMacOSX"
);
...
...
@@ -501,11 +500,13 @@ CIrrDeviceMacOSX::CIrrDeviceMacOSX(const SIrrlichtCreationParameters& param)
[
NSApp
finishLaunching
];
}
path
=
[[[
NSBundle
mainBundle
]
bundlePath
]
stringByDeletingLastPathComponent
];
chdir
([
path
fileSystemRepresentation
]);
[
path
release
];
NSString
*
bundlePath
=
[[
NSBundle
mainBundle
]
bundlePath
];
if
([[
bundlePath
lowercaseString
]
hasSuffix
:
@".app"
])
{
NSString
*
path
=
[
bundlePath
stringByDeletingLastPathComponent
];
chdir
([
path
fileSystemRepresentation
]);
}
}
NSWindow
*
a
;
uname
(
&
name
);
Operator
=
new
COSOperator
(
name
.
version
);
os
::
Printer
::
log
(
name
.
version
,
ELL_INFORMATION
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment