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
ddae1416
Commit
ddae1416
authored
Mar 11, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the PUSH1 macro.
parent
2cc43393
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
directx.c
dlls/wined3d/directx.c
+10
-12
No files found.
dlls/wined3d/directx.c
View file @
ddae1416
...
...
@@ -4221,7 +4221,6 @@ static void fillGLAttribFuncs(const WineD3D_GL_Info *gl_info)
}
}
#define PUSH1(att) attribs[nAttribs++] = (att);
BOOL
InitAdapters
(
IWineD3DImpl
*
This
)
{
static
HMODULE
mod_gl
;
...
...
@@ -4346,16 +4345,16 @@ BOOL InitAdapters(IWineD3DImpl *This)
adapter
->
cfgs
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
adapter
->
nCfgs
*
sizeof
(
WineD3D_PixelFormat
));
cfgs
=
adapter
->
cfgs
;
PUSH1
(
WGL_RED_BITS_ARB
)
PUSH1
(
WGL_GREEN_BITS_ARB
)
PUSH1
(
WGL_BLUE_BITS_ARB
)
PUSH1
(
WGL_ALPHA_BITS_ARB
)
PUSH1
(
WGL_DEPTH_BITS_ARB
)
PUSH1
(
WGL_STENCIL_BITS_ARB
)
PUSH1
(
WGL_DRAW_TO_WINDOW_ARB
)
PUSH1
(
WGL_PIXEL_TYPE_ARB
)
PUSH1
(
WGL_DOUBLE_BUFFER_ARB
)
PUSH1
(
WGL_AUX_BUFFERS_ARB
)
attribs
[
nAttribs
++
]
=
WGL_RED_BITS_ARB
;
attribs
[
nAttribs
++
]
=
WGL_GREEN_BITS_ARB
;
attribs
[
nAttribs
++
]
=
WGL_BLUE_BITS_ARB
;
attribs
[
nAttribs
++
]
=
WGL_ALPHA_BITS_ARB
;
attribs
[
nAttribs
++
]
=
WGL_DEPTH_BITS_ARB
;
attribs
[
nAttribs
++
]
=
WGL_STENCIL_BITS_ARB
;
attribs
[
nAttribs
++
]
=
WGL_DRAW_TO_WINDOW_ARB
;
attribs
[
nAttribs
++
]
=
WGL_PIXEL_TYPE_ARB
;
attribs
[
nAttribs
++
]
=
WGL_DOUBLE_BUFFER_ARB
;
attribs
[
nAttribs
++
]
=
WGL_AUX_BUFFERS_ARB
;
for
(
iPixelFormat
=
1
;
iPixelFormat
<=
adapter
->
nCfgs
;
++
iPixelFormat
)
{
...
...
@@ -4457,7 +4456,6 @@ nogl_adapter:
This
->
adapter_count
=
1
;
return
FALSE
;
}
#undef PUSH1
/**********************************************************
* IWineD3D VTbl follows
...
...
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