Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
c3bc0fa2
Commit
c3bc0fa2
authored
25 years ago
by
Lionel Ulmer
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Replaced fprintfs by proper debug macros and fixed some compilation warnings.
parent
ef906753
No related branches found
Branches containing commit
Tags
wine-990131
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
graphics/d3dlight.c
+1
-1
1 addition, 1 deletion
graphics/d3dlight.c
graphics/d3dmaterial.c
+1
-1
1 addition, 1 deletion
graphics/d3dmaterial.c
graphics/d3dtexture.c
+4
-2
4 additions, 2 deletions
graphics/d3dtexture.c
with
6 additions
and
4 deletions
graphics/d3dlight.c
+
1
−
1
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
,
...
...
This diff is collapsed.
Click to expand it.
graphics/d3dmaterial.c
+
1
−
1
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
,
...
...
This diff is collapsed.
Click to expand it.
graphics/d3dtexture.c
+
4
−
2
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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment