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
74117baa
Commit
74117baa
authored
Apr 21, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Apr 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Correct vtrace usage.
parent
3d5e517e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
device.c
dlls/wined3d/device.c
+4
-4
drawprim.c
dlls/wined3d/drawprim.c
+3
-3
No files found.
dlls/wined3d/device.c
View file @
74117baa
...
...
@@ -308,17 +308,17 @@ void WINAPI IWineD3DDeviceImpl_SetupTextureStates(IWineD3DDevice *iface, DWORD S
glDisable
(
GL_POINT_SMOOTH
);
/* Centre the texture on the vertex */
VTRACE
(
"glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)
\n
"
);
VTRACE
(
(
"glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)
\n
"
)
);
glTexEnvf
(
GL_POINT_SPRITE_ARB
,
GL_COORD_REPLACE_ARB
,
GL_TRUE
);
VTRACE
(
"glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)
\n
"
);
VTRACE
(
(
"glTexEnvf( GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE)
\n
"
)
);
glTexEnvf
(
GL_POINT_SPRITE_ARB
,
GL_COORD_REPLACE_ARB
,
GL_TRUE
);
checkGLcall
(
"glTexEnvf(...)"
);
VTRACE
(
"glEnable( GL_POINT_SPRITE_ARB )
\n
"
);
VTRACE
(
(
"glEnable( GL_POINT_SPRITE_ARB )
\n
"
)
);
glEnable
(
GL_POINT_SPRITE_ARB
);
checkGLcall
(
"glEnable(...)"
);
}
else
{
VTRACE
(
"glDisable( GL_POINT_SPRITE_ARB )
\n
"
);
VTRACE
(
(
"glDisable( GL_POINT_SPRITE_ARB )
\n
"
)
);
glDisable
(
GL_POINT_SPRITE_ARB
);
checkGLcall
(
"glEnable(...)"
);
}
...
...
dlls/wined3d/drawprim.c
View file @
74117baa
...
...
@@ -957,7 +957,7 @@ static void loadVertexData(IWineD3DDevice *iface, Direct3DVertexStridedData *sd)
#endif
VTRACE
((
"glWeightPointerARB(%
l
d, GL_FLOAT, %ld, %p)
\n
"
,
VTRACE
((
"glWeightPointerARB(%d, GL_FLOAT, %ld, %p)
\n
"
,
WINED3D_ATR_SIZE
(
blendWeights
)
,
sd
->
u
.
s
.
blendWeights
.
dwStride
,
sd
->
u
.
s
.
blendWeights
.
lpData
));
...
...
@@ -1484,7 +1484,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, Direct3DVertexStridedData *sd
D3DCOLOR_B_G
(
diffuseColor
),
D3DCOLOR_B_B
(
diffuseColor
),
D3DCOLOR_B_A
(
diffuseColor
));
VTRACE
((
"glColor4ub: r,g,b,a=%
u,%u,%u,%
u
\n
"
,
VTRACE
((
"glColor4ub: r,g,b,a=%
lu,%lu,%lu,%l
u
\n
"
,
D3DCOLOR_B_R
(
diffuseColor
),
D3DCOLOR_B_G
(
diffuseColor
),
D3DCOLOR_B_B
(
diffuseColor
),
...
...
@@ -1495,7 +1495,7 @@ static void drawStridedSlow(IWineD3DDevice *iface, Direct3DVertexStridedData *sd
/* Specular ------------------------------- */
if
(
sd
->
u
.
s
.
specular
.
lpData
!=
NULL
)
{
VTRACE
((
"glSecondaryColor4ub: r,g,b=%
u,%u,%
u
\n
"
,
VTRACE
((
"glSecondaryColor4ub: r,g,b=%
lu,%lu,%l
u
\n
"
,
D3DCOLOR_B_R
(
specularColor
),
D3DCOLOR_B_G
(
specularColor
),
D3DCOLOR_B_B
(
specularColor
)));
...
...
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