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
6118676c
Commit
6118676c
authored
Apr 11, 2013
by
Matteo Bruni
Committed by
Alexandre Julliard
Apr 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Fix attributes conversion in wglCreateContextAttribsARB().
parent
3e564b1e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
opengl.c
dlls/winex11.drv/opengl.c
+4
-1
No files found.
dlls/winex11.drv/opengl.c
View file @
6118676c
...
...
@@ -1953,27 +1953,30 @@ static struct wgl_context *X11DRV_wglCreateContextAttribsARB( HDC hdc, struct wg
case
WGL_CONTEXT_MAJOR_VERSION_ARB
:
pContextAttribList
[
0
]
=
GLX_CONTEXT_MAJOR_VERSION_ARB
;
pContextAttribList
[
1
]
=
attribList
[
1
];
pContextAttribList
+=
2
;
break
;
case
WGL_CONTEXT_MINOR_VERSION_ARB
:
pContextAttribList
[
0
]
=
GLX_CONTEXT_MINOR_VERSION_ARB
;
pContextAttribList
[
1
]
=
attribList
[
1
];
pContextAttribList
+=
2
;
break
;
case
WGL_CONTEXT_LAYER_PLANE_ARB
:
break
;
case
WGL_CONTEXT_FLAGS_ARB
:
pContextAttribList
[
0
]
=
GLX_CONTEXT_FLAGS_ARB
;
pContextAttribList
[
1
]
=
attribList
[
1
];
pContextAttribList
+=
2
;
break
;
case
WGL_CONTEXT_PROFILE_MASK_ARB
:
pContextAttribList
[
0
]
=
GLX_CONTEXT_PROFILE_MASK_ARB
;
pContextAttribList
[
1
]
=
attribList
[
1
];
pContextAttribList
+=
2
;
break
;
default:
ERR
(
"Unhandled attribList pair: %#x %#x
\n
"
,
attribList
[
0
],
attribList
[
1
]);
}
ret
->
numAttribs
++
;
attribList
+=
2
;
pContextAttribList
+=
2
;
}
}
...
...
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