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
8192555d
Commit
8192555d
authored
Oct 09, 2006
by
Markus Amsler
Committed by
Alexandre Julliard
Oct 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix DEBUG_SINGLE_MODE.
parent
915898fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
directx.c
dlls/wined3d/directx.c
+2
-1
No files found.
dlls/wined3d/directx.c
View file @
8192555d
...
...
@@ -1111,13 +1111,14 @@ static HRESULT WINAPI IWineD3DImpl_EnumAdapterModes(IWineD3D *iface, UINT Adapte
}
if
(
Adapter
==
0
)
{
/* Display */
int
bpp
;
#if !defined( DEBUG_SINGLE_MODE )
DEVMODEW
DevModeW
;
int
ModeIdx
=
0
;
/* Work out the current screen bpp */
HDC
hdc
=
CreateDCA
(
"DISPLAY"
,
NULL
,
NULL
,
NULL
);
int
bpp
=
GetDeviceCaps
(
hdc
,
BITSPIXEL
);
bpp
=
GetDeviceCaps
(
hdc
,
BITSPIXEL
);
DeleteDC
(
hdc
);
/* If we are filtering to a specific format, then need to skip all unrelated
...
...
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