Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
66020934
Commit
66020934
authored
Nov 24, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winevulkan: Fix python linter warnings.
parent
ac84b8f0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
make_vulkan
dlls/winevulkan/make_vulkan
+2
-4
No files found.
dlls/winevulkan/make_vulkan
View file @
66020934
...
...
@@ -23,7 +23,6 @@ import argparse
import
logging
import
os
import
re
import
sys
import
urllib.request
import
xml.etree.ElementTree
as
ET
from
collections
import
OrderedDict
...
...
@@ -2124,7 +2123,6 @@ class VkStruct(Sequence):
if
self
.
name
in
[
"VkOpticalFlowSessionCreateInfoNV"
,
"VkDescriptorBufferBindingInfoEXT"
]:
is_const
=
True
needs_output_copy
=
False
for
e
in
self
.
struct_extensions
:
if
not
e
.
required
:
...
...
@@ -2574,7 +2572,7 @@ class ArrayConversionFunction(object):
body
+=
" else
\n
"
body
+=
" out[i] = NULL;
\n
"
else
:
body
+=
" out[i] = UlongToPtr(in[i]);
\n
"
.
format
(
win_type
)
body
+=
" out[i] = UlongToPtr(in[i]);
\n
"
elif
self
.
array
.
is_handle
():
if
self
.
array
.
pointer_array
:
LOGGER
.
error
(
"Unhandled handle pointer arrays"
)
...
...
@@ -3701,7 +3699,7 @@ class VkRegistry(object):
# Since we already parsed the enum before, just link it in.
try
:
type_info
[
"data"
]
=
self
.
enums
[
name
]
except
KeyError
as
e
:
except
KeyError
:
# Not all enums seem to be defined yet, typically that's for
# ones ending in 'FlagBits' where future extensions may add
# definitions.
...
...
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