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
5f7b77bb
Commit
5f7b77bb
authored
Sep 11, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Avoid compile errors in the non-OpenGL case.
parent
ade98b97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
opengl.c
dlls/winex11.drv/opengl.c
+8
-1
No files found.
dlls/winex11.drv/opengl.c
View file @
5f7b77bb
...
@@ -1226,6 +1226,13 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) {
...
@@ -1226,6 +1226,13 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) {
return
0
;
return
0
;
}
}
/* OpenGL32 wglGetCurrentReadDCARB */
HDC
WINAPI
X11DRV_wglGetCurrentReadDCARB
(
void
)
{
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
return
0
;
}
/* OpenGL32 wglMakeCurrent */
/* OpenGL32 wglMakeCurrent */
BOOL
WINAPI
X11DRV_wglMakeCurrent
(
HDC
hdc
,
HGLRC
hglrc
)
{
BOOL
WINAPI
X11DRV_wglMakeCurrent
(
HDC
hdc
,
HGLRC
hglrc
)
{
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
...
@@ -1246,7 +1253,7 @@ BOOL WINAPI X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
...
@@ -1246,7 +1253,7 @@ BOOL WINAPI X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
}
}
/* WGL helper function which handles differences in glGetIntegerv from WGL and GLX */
/* WGL helper function which handles differences in glGetIntegerv from WGL and GLX */
void
X11DRV_wglGetIntegerv
(
GLenum
pname
,
GL
int
*
params
)
{
void
X11DRV_wglGetIntegerv
(
int
pname
,
int
*
params
)
{
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\n
"
);
ERR_
(
opengl
)(
"No OpenGL support compiled in.
\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