Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
2ceae9a0
There was an error fetching the commit references. Please try again later.
Commit
2ceae9a0
authored
1 year ago
by
Nick Majkic
Browse files
Options
Downloads
Patches
Plain Diff
Nmajkic/clang fix
parent
19c2b08a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/video_core/video_core.cpp
+5
-11
5 additions, 11 deletions
src/video_core/video_core.cpp
with
5 additions
and
11 deletions
src/video_core/video_core.cpp
+
5
−
11
View file @
2ceae9a0
...
...
@@ -13,7 +13,6 @@
#include
"video_core/renderer_vulkan/renderer_vulkan.h"
#include
"video_core/video_core.h"
namespace
{
std
::
unique_ptr
<
VideoCore
::
RendererBase
>
CreateRenderer
(
...
...
@@ -22,20 +21,15 @@ std::unique_ptr<VideoCore::RendererBase> CreateRenderer(
auto
&
device_memory
=
system
.
Host1x
().
MemoryManager
();
switch
(
Settings
::
values
.
renderer_backend
.
GetValue
())
{
#ifdef __APPLE__
#ifdef __APPLE__
// do nothing for now, include metal in here at later date.
#else
#else
// openGL, not supported on Apple so not bothering to include if macos
case
Settings
::
RendererBackend
::
OpenGL
:
case
Settings
::
RendererBackend
::
OpenGL
:
return
std
::
make_unique
<
OpenGL
::
RendererOpenGL
>
(
emu_window
,
device_memory
,
gpu
,
std
::
move
(
context
));
#endif
#endif
// common renderers
case
Settings
::
RendererBackend
::
Vulkan
:
return
std
::
make_unique
<
Vulkan
::
RendererVulkan
>
(
emu_window
,
device_memory
,
gpu
,
std
::
move
(
context
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment