Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mirrage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
GameDevWeek
D
Dependencies
Cpp
mirrage
Commits
3e190fff
Commit
3e190fff
authored
Sep 21, 2019
by
Florian Oetke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed clang build (nullptr vs 0 in C-SPI)
parent
a5fe868b
Pipeline
#3402
passed with stage
in 13 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/mirrage/graphic/src/settings.cpp
src/mirrage/graphic/src/settings.cpp
+1
-1
No files found.
src/mirrage/graphic/src/settings.cpp
View file @
3e190fff
...
...
@@ -8,7 +8,7 @@ namespace mirrage::graphic {
auto
default_window_settings
(
int
display
)
->
Window_settings
{
#ifdef NDEBUG
auto
mode
=
SDL_DisplayMode
{
SDL_PIXELFORMAT_UNKNOWN
,
0
,
0
,
0
,
0
};
auto
mode
=
SDL_DisplayMode
{
SDL_PIXELFORMAT_UNKNOWN
,
0
,
0
,
0
,
nullptr
};
if
(
SDL_GetDisplayMode
(
display
,
0
,
&
mode
)
==
0
)
{
return
Window_settings
{
mode
.
w
,
mode
.
h
,
display
,
Fullscreen
::
yes
};
}
...
...
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