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
c3bc0fa2
Commit
c3bc0fa2
authored
Feb 12, 2000
by
Lionel Ulmer
Committed by
Alexandre Julliard
Feb 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced fprintfs by proper debug macros and fixed some compilation warnings.
parent
ef906753
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
d3dlight.c
graphics/d3dlight.c
+1
-1
d3dmaterial.c
graphics/d3dmaterial.c
+1
-1
d3dtexture.c
graphics/d3dtexture.c
+4
-2
No files found.
graphics/d3dlight.c
View file @
c3bc0fa2
...
...
@@ -178,7 +178,7 @@ static ULONG WINAPI IDirect3DLightImpl_Release(LPDIRECT3DLIGHT iface)
/*** IDirect3DLight methods ***/
static
void
dump_light
(
LPD3DLIGHT
light
)
{
fprintf
(
stderr
,
" dwSize : %ld
\n
"
,
light
->
dwSize
);
DPRINTF
(
" dwSize : %ld
\n
"
,
light
->
dwSize
);
}
static
HRESULT
WINAPI
IDirect3DLightImpl_GetLight
(
LPDIRECT3DLIGHT
iface
,
...
...
graphics/d3dmaterial.c
View file @
c3bc0fa2
...
...
@@ -139,7 +139,7 @@ static ULONG WINAPI IDirect3DMaterial2Impl_Release(LPDIRECT3DMATERIAL2 iface)
/*** IDirect3DMaterial2 methods ***/
static
void
dump_material
(
LPD3DMATERIAL
mat
)
{
fprintf
(
stderr
,
" dwSize : %ld
\n
"
,
mat
->
dwSize
);
DPRINTF
(
" dwSize : %ld
\n
"
,
mat
->
dwSize
);
}
static
HRESULT
WINAPI
IDirect3DMaterial2Impl_GetMaterial
(
LPDIRECT3DMATERIAL2
iface
,
...
...
graphics/d3dtexture.c
View file @
c3bc0fa2
...
...
@@ -26,6 +26,8 @@ DEFAULT_DEBUG_CHANNEL(ddraw)
#undef TEXTURE_SNOOP
#ifdef TEXTURE_SNOOP
#include <stdio.h>
#define SNOOP_PALETTED() \
{ \
FILE *f; \
...
...
@@ -280,7 +282,7 @@ static HRESULT WINAPI IDirect3DTextureImpl_GetHandle(LPDIRECT3DTEXTURE iface,
glGenTextures
(
1
,
&
(
This
->
tex_name
));
LEAVE_GL
();
TRACE
(
"OpenGL texture handle is : %d
\n
"
,
This
->
tex_name
);
TRACE
(
"OpenGL texture handle is : %
l
d
\n
"
,
This
->
tex_name
);
return
D3D_OK
;
}
...
...
@@ -323,7 +325,7 @@ static HRESULT WINAPI IDirect3DTexture2Impl_GetHandle(LPDIRECT3DTEXTURE2 iface,
glGenTextures
(
1
,
&
(
This
->
tex_name
));
LEAVE_GL
();
TRACE
(
"OpenGL texture handle is : %d
\n
"
,
This
->
tex_name
);
TRACE
(
"OpenGL texture handle is : %
l
d
\n
"
,
This
->
tex_name
);
return
D3D_OK
;
}
...
...
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