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
f77605c7
Commit
f77605c7
authored
Sep 29, 2012
by
Francois Gouget
Committed by
Alexandre Julliard
Oct 01, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Make dibdrv_wgl{Describe,Set}PixelFormat() static.
parent
62d19578
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
opengl.c
dlls/gdi32/dibdrv/opengl.c
+2
-2
No files found.
dlls/gdi32/dibdrv/opengl.c
View file @
f77605c7
...
@@ -139,7 +139,7 @@ failed:
...
@@ -139,7 +139,7 @@ failed:
/**********************************************************************
/**********************************************************************
* dibdrv_wglDescribePixelFormat
* dibdrv_wglDescribePixelFormat
*/
*/
int
dibdrv_wglDescribePixelFormat
(
HDC
hdc
,
int
fmt
,
UINT
size
,
PIXELFORMATDESCRIPTOR
*
descr
)
static
int
dibdrv_wglDescribePixelFormat
(
HDC
hdc
,
int
fmt
,
UINT
size
,
PIXELFORMATDESCRIPTOR
*
descr
)
{
{
int
ret
=
sizeof
(
pixel_formats
)
/
sizeof
(
pixel_formats
[
0
]);
int
ret
=
sizeof
(
pixel_formats
)
/
sizeof
(
pixel_formats
[
0
]);
...
@@ -289,7 +289,7 @@ static BOOL dibdrv_wglMakeCurrent( HDC hdc, struct wgl_context *context )
...
@@ -289,7 +289,7 @@ static BOOL dibdrv_wglMakeCurrent( HDC hdc, struct wgl_context *context )
/**********************************************************************
/**********************************************************************
* dibdrv_wglSetPixelFormat
* dibdrv_wglSetPixelFormat
*/
*/
BOOL
dibdrv_wglSetPixelFormat
(
HDC
hdc
,
int
fmt
,
const
PIXELFORMATDESCRIPTOR
*
descr
)
static
BOOL
dibdrv_wglSetPixelFormat
(
HDC
hdc
,
int
fmt
,
const
PIXELFORMATDESCRIPTOR
*
descr
)
{
{
if
(
fmt
<=
0
||
fmt
>
nb_formats
)
return
FALSE
;
if
(
fmt
<=
0
||
fmt
>
nb_formats
)
return
FALSE
;
return
GdiSetPixelFormat
(
hdc
,
fmt
,
descr
);
return
GdiSetPixelFormat
(
hdc
,
fmt
,
descr
);
...
...
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