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
386414fb
Commit
386414fb
authored
Dec 07, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Enable long integral types in cs.c.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
1d3bf575
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
cs.c
dlls/wined3d/cs.c
+4
-7
No files found.
dlls/wined3d/cs.c
View file @
386414fb
...
...
@@ -15,7 +15,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WINE_NO_LONG_TYPES
/* temporary */
#include "wined3d_private.h"
...
...
@@ -3153,8 +3152,7 @@ static void *wined3d_cs_queue_require_space(struct wined3d_cs_queue *queue, size
size
=
packet_size
-
header_size
;
if
(
packet_size
>=
WINED3D_CS_QUEUE_SIZE
)
{
ERR
(
"Packet size %lu >= queue size %u.
\n
"
,
(
unsigned
long
)
packet_size
,
WINED3D_CS_QUEUE_SIZE
);
ERR
(
"Packet size %Iu >= queue size %u.
\n
"
,
packet_size
,
WINED3D_CS_QUEUE_SIZE
);
return
NULL
;
}
...
...
@@ -3164,8 +3162,7 @@ static void *wined3d_cs_queue_require_space(struct wined3d_cs_queue *queue, size
size_t
nop_size
=
remaining
-
header_size
;
struct
wined3d_cs_nop
*
nop
;
TRACE
(
"Inserting a nop for %lu + %lu bytes.
\n
"
,
(
unsigned
long
)
header_size
,
(
unsigned
long
)
nop_size
);
TRACE
(
"Inserting a nop for %Iu + %Iu bytes.
\n
"
,
header_size
,
nop_size
);
nop
=
wined3d_cs_queue_require_space
(
queue
,
nop_size
,
cs
);
if
(
nop_size
)
...
...
@@ -3194,8 +3191,8 @@ static void *wined3d_cs_queue_require_space(struct wined3d_cs_queue *queue, size
if
(
new_pos
<
tail
&&
new_pos
)
break
;
TRACE
(
"Waiting for free space. Head %
u, tail %u, packet size %l
u.
\n
"
,
head
,
tail
,
(
unsigned
long
)
packet_size
);
TRACE
(
"Waiting for free space. Head %
lu, tail %lu, packet size %I
u.
\n
"
,
head
,
tail
,
packet_size
);
}
packet
=
(
struct
wined3d_cs_packet
*
)
&
queue
->
data
[
head
];
...
...
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