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
272196f5
Commit
272196f5
authored
Sep 25, 2006
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Sep 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.Drv: Remove unneeded wgl exports.
parent
9a71b483
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
40 deletions
+2
-40
wgl.c
dlls/opengl32/wgl.c
+0
-22
opengl.c
dlls/winex11.drv/opengl.c
+2
-16
winex11.drv.spec
dlls/winex11.drv/winex11.drv.spec
+0
-2
No files found.
dlls/opengl32/wgl.c
View file @
272196f5
...
...
@@ -51,10 +51,8 @@ typedef struct wine_wgl_s {
BOOL
WINAPI
(
*
p_wglDeleteContext
)(
HGLRC
hglrc
);
HGLRC
WINAPI
(
*
p_wglGetCurrentContext
)(
void
);
HDC
WINAPI
(
*
p_wglGetCurrentDC
)(
void
);
HDC
WINAPI
(
*
p_wglGetCurrentReadDCARB
)(
void
);
PROC
WINAPI
(
*
p_wglGetProcAddress
)(
LPCSTR
lpszProc
);
BOOL
WINAPI
(
*
p_wglMakeCurrent
)(
HDC
hdc
,
HGLRC
hglrc
);
BOOL
WINAPI
(
*
p_wglMakeContextCurrentARB
)(
HDC
hDrawDC
,
HDC
hReadDC
,
HGLRC
hglrc
);
BOOL
WINAPI
(
*
p_wglShareLists
)(
HGLRC
hglrc1
,
HGLRC
hglrc2
);
BOOL
WINAPI
(
*
p_wglUseFontBitmapsA
)(
HDC
hdc
,
DWORD
first
,
DWORD
count
,
DWORD
listBase
);
BOOL
WINAPI
(
*
p_wglUseFontBitmapsW
)(
HDC
hdc
,
DWORD
first
,
DWORD
count
,
DWORD
listBase
);
...
...
@@ -298,24 +296,6 @@ BOOL WINAPI wglMakeCurrent(HDC hdc, HGLRC hglrc) {
}
/***********************************************************************
* wglMakeContextCurrentARB (OPENGL32.@)
*/
BOOL
WINAPI
wglMakeContextCurrentARB
(
HDC
hDrawDC
,
HDC
hReadDC
,
HGLRC
hglrc
)
{
TRACE
(
"hDrawDC: (%p), hReadDC: (%p), hglrc: (%p)
\n
"
,
hDrawDC
,
hReadDC
,
hglrc
);
return
wine_wgl
.
p_wglMakeContextCurrentARB
(
hDrawDC
,
hReadDC
,
hglrc
);
}
/***********************************************************************
* wglGetCurrentReadDCARB (OPENGL32.@)
*/
HDC
WINAPI
wglGetCurrentReadDCARB
(
void
)
{
TRACE
(
"
\n
"
);
return
wine_wgl
.
p_wglGetCurrentReadDCARB
();
}
/***********************************************************************
* wglRealizeLayerPalette (OPENGL32.@)
*/
BOOL
WINAPI
wglRealizeLayerPalette
(
HDC
hdc
,
...
...
@@ -718,10 +698,8 @@ static BOOL process_attach(void)
wine_wgl
.
p_wglDeleteContext
=
(
void
*
)
GetProcAddress
(
mod
,
"wglDeleteContext"
);
wine_wgl
.
p_wglGetCurrentContext
=
(
void
*
)
GetProcAddress
(
mod
,
"wglGetCurrentContext"
);
wine_wgl
.
p_wglGetCurrentDC
=
(
void
*
)
GetProcAddress
(
mod
,
"wglGetCurrentDC"
);
wine_wgl
.
p_wglGetCurrentReadDCARB
=
(
void
*
)
GetProcAddress
(
mod
,
"wglGetCurrentReadDCARB"
);
wine_wgl
.
p_wglGetProcAddress
=
(
void
*
)
GetProcAddress
(
mod
,
"wglGetProcAddress"
);
wine_wgl
.
p_wglMakeCurrent
=
(
void
*
)
GetProcAddress
(
mod
,
"wglMakeCurrent"
);
wine_wgl
.
p_wglMakeContextCurrentARB
=
(
void
*
)
GetProcAddress
(
mod
,
"wglMakeContextCurrentARB"
);
wine_wgl
.
p_wglShareLists
=
(
void
*
)
GetProcAddress
(
mod
,
"wglShareLists"
);
wine_wgl
.
p_wglUseFontBitmapsA
=
(
void
*
)
GetProcAddress
(
mod
,
"wglUseFontBitmapsA"
);
wine_wgl
.
p_wglUseFontBitmapsW
=
(
void
*
)
GetProcAddress
(
mod
,
"wglUseFontBitmapsW"
);
...
...
dlls/winex11.drv/opengl.c
View file @
272196f5
...
...
@@ -1320,7 +1320,7 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) {
}
/* OpenGL32 wglGetCurrentReadDCARB */
HDC
WINAPI
X11DRV_wglGetCurrentReadDCARB
(
void
)
static
HDC
WINAPI
X11DRV_wglGetCurrentReadDCARB
(
void
)
{
GLXDrawable
gl_d
;
HDC
ret
;
...
...
@@ -1417,7 +1417,7 @@ BOOL WINAPI X11DRV_wglMakeCurrent(HDC hdc, HGLRC hglrc) {
}
/* OpenGL32 wglMakeContextCurrentARB */
BOOL
WINAPI
X11DRV_wglMakeContextCurrentARB
(
HDC
hDrawDC
,
HDC
hReadDC
,
HGLRC
hglrc
)
static
BOOL
WINAPI
X11DRV_wglMakeContextCurrentARB
(
HDC
hDrawDC
,
HDC
hReadDC
,
HGLRC
hglrc
)
{
BOOL
ret
;
TRACE
(
"(%p,%p,%p)
\n
"
,
hDrawDC
,
hReadDC
,
hglrc
);
...
...
@@ -2816,13 +2816,6 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) {
return
0
;
}
/* OpenGL32 wglGetCurrentReadDCARB */
HDC
WINAPI
X11DRV_wglGetCurrentReadDCARB
(
void
)
{
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
return
0
;
}
/* OpenGL32: wglGetProcAddress */
PROC
X11DRV_wglGetProcAddress
(
LPCSTR
lpszProc
)
{
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
...
...
@@ -2835,13 +2828,6 @@ BOOL WINAPI X11DRV_wglMakeCurrent(HDC hdc, HGLRC hglrc) {
return
FALSE
;
}
/* OpenGL32 wglMakeContextCurrentARB */
BOOL
WINAPI
X11DRV_wglMakeContextCurrentARB
(
HDC
hDrawDC
,
HDC
hReadDC
,
HGLRC
hglrc
)
{
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
return
FALSE
;
}
/* OpenGL32 wglShaderLists */
BOOL
WINAPI
X11DRV_wglShareLists
(
HGLRC
hglrc1
,
HGLRC
hglrc2
)
{
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
...
...
dlls/winex11.drv/winex11.drv.spec
View file @
272196f5
...
...
@@ -133,10 +133,8 @@
@ cdecl wglDeleteContext(long) X11DRV_wglDeleteContext
@ cdecl wglGetCurrentContext() X11DRV_wglGetCurrentContext
@ cdecl wglGetCurrentDC() X11DRV_wglGetCurrentDC
@ cdecl wglGetCurrentReadDCARB() X11DRV_wglGetCurrentReadDCARB
@ cdecl wglGetIntegerv(long ptr) X11DRV_wglGetIntegerv
@ cdecl wglGetProcAddress(ptr) X11DRV_wglGetProcAddress
@ cdecl wglMakeContextCurrentARB(long long long) X11DRV_wglMakeContextCurrentARB
@ cdecl wglMakeCurrent(long long) X11DRV_wglMakeCurrent
@ cdecl wglShareLists(long long) X11DRV_wglShareLists
@ cdecl wglUseFontBitmapsA(long long long long) X11DRV_wglUseFontBitmapsA
...
...
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