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
4a8f7b23
Commit
4a8f7b23
authored
Mar 23, 2004
by
Ofir Petruska
Committed by
Alexandre Julliard
Mar 23, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define EXTRA_TRACES instead of #if 0.
parent
5dd2bc69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
device.c
dlls/d3d8/device.c
+5
-2
No files found.
dlls/d3d8/device.c
View file @
4a8f7b23
...
...
@@ -39,6 +39,9 @@
/** currently desactiving 1_4 support as mesa doesn't implement all 1_4 support while defining it */
#undef GL_VERSION_1_4
/* Uncomment the next line to get extra traces, important but impact speed */
/* #define EXTRA_TRACES */
WINE_DEFAULT_DEBUG_CHANNEL
(
d3d
);
WINE_DECLARE_DEBUG_CHANNEL
(
d3d_shader
);
WINE_DECLARE_DEBUG_CHANNEL
(
fps
);
...
...
@@ -4340,7 +4343,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_ActiveRender(LPDIRECT3DDEVICE8 iface,
cfgs
=
glXChooseFBConfig
(
This
->
display
,
DefaultScreen
(
This
->
display
),
attribs
,
&
nCfgs
);
if
(
NULL
!=
cfgs
)
{
#if
0
#if
def EXTRA_TRACES
int
i
;
for
(
i
=
0
;
i
<
nCfgs
;
++
i
)
{
TRACE
(
"for (%u,%s)/(%u,%s) found config[%d]@%p
\n
"
,
BackBufferFormat
,
debug_d3dformat
(
BackBufferFormat
),
StencilBufferFormat
,
debug_d3dformat
(
StencilBufferFormat
),
i
,
cfgs
[
i
]);
...
...
@@ -4352,7 +4355,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_ActiveRender(LPDIRECT3DDEVICE8 iface,
glFlush
();
vcheckGLcall
(
"glFlush"
);
#if
0
#if
def EXTRA_TRACES
/** very very usefull debug code */
glXSwapBuffers
(
This
->
display
,
This
->
drawable
);
printf
(
"Hit Enter to get next frame ...
\n
"
);
...
...
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