Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
skiko
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuqiang
skiko
Commits
ae46255c
Unverified
Commit
ae46255c
authored
Oct 14, 2022
by
Pavel
Committed by
GitHub
Oct 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
limit supported D3D_FEATURE_LEVEL only to D3D12 (#603)
parent
044ea3bb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
directXRedrawer.cc
skiko/src/awtMain/cpp/windows/directXRedrawer.cc
+3
-4
No files found.
skiko/src/awtMain/cpp/windows/directXRedrawer.cc
View file @
ae46255c
...
...
@@ -261,12 +261,11 @@ extern "C"
}
gr_cp
<
IDXGIAdapter1
>
adapter
((
IDXGIAdapter1
*
)
adapterPtr
);
D3D_FEATURE_LEVEL
maxSupportedFeatureLevel
=
D3D_FEATURE_LEVEL_1
1
_0
;
D3D_FEATURE_LEVEL
maxSupportedFeatureLevel
=
D3D_FEATURE_LEVEL_1
2
_0
;
D3D_FEATURE_LEVEL
featureLevels
[]
=
{
// TODO add D3D_FEATURE_LEVEL_12_2
D3D_FEATURE_LEVEL_12_1
,
D3D_FEATURE_LEVEL_12_0
,
D3D_FEATURE_LEVEL_11_1
,
D3D_FEATURE_LEVEL_11_0
D3D_FEATURE_LEVEL_12_0
};
for
(
int
i
=
0
;
i
<
_countof
(
featureLevels
);
i
++
)
{
...
...
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