Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
0326da9d
Commit
0326da9d
authored
Jun 27, 2007
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove superfluous casts of void pointers to other pointer types.
parent
b700e63d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
glsl_shader.c
dlls/wined3d/glsl_shader.c
+1
-1
surface.c
dlls/wined3d/surface.c
+1
-1
No files found.
dlls/wined3d/glsl_shader.c
View file @
0326da9d
...
...
@@ -65,7 +65,7 @@ void print_glsl_info_log(WineD3D_GL_Info *gl_info, GLhandleARB obj) {
* that if there are errors. */
if
(
infologLength
>
1
)
{
infoLog
=
(
char
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
infologLength
);
infoLog
=
HeapAlloc
(
GetProcessHeap
(),
0
,
infologLength
);
GL_EXTCALL
(
glGetInfoLogARB
(
obj
,
infologLength
,
NULL
,
infoLog
));
FIXME
(
"Error received from GLSL shader #%u: %s
\n
"
,
obj
,
debugstr_a
(
infoLog
));
HeapFree
(
GetProcessHeap
(),
0
,
infoLog
);
...
...
dlls/wined3d/surface.c
View file @
0326da9d
...
...
@@ -1871,7 +1871,7 @@ static BOOL palette9_changed(IWineD3DSurfaceImpl *This) {
return
FALSE
;
}
}
else
{
This
->
palette9
=
(
PALETTEENTRY
*
)
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
PALETTEENTRY
)
*
256
);
This
->
palette9
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
PALETTEENTRY
)
*
256
);
}
memcpy
(
This
->
palette9
,
&
device
->
palettes
[
device
->
currentPalette
],
sizeof
(
PALETTEENTRY
)
*
256
);
return
TRUE
;
...
...
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