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
d2fdc2d1
Commit
d2fdc2d1
authored
Apr 14, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Apr 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Remove superfluous pointer casts.
parent
b5dbbd4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wgl.c
dlls/opengl32/wgl.c
+4
-4
No files found.
dlls/opengl32/wgl.c
View file @
d2fdc2d1
...
...
@@ -102,8 +102,8 @@ typedef struct wine_glcontext {
void
enter_gl
(
void
)
{
Wine_GLContext
*
curctx
=
(
Wine_GLContext
*
)
NtCurrentTeb
()
->
glContext
;
Wine_GLContext
*
curctx
=
NtCurrentTeb
()
->
glContext
;
if
(
curctx
&&
curctx
->
do_escape
)
{
enum
x11drv_escape_codes
escape
=
X11DRV_SYNC_PIXMAP
;
...
...
@@ -230,8 +230,8 @@ PROC WINAPI wglGetProcAddress(LPCSTR lpszProc) {
/* After that, search in the thunks to find the real name of the extension */
ext
.
name
=
lpszProc
;
ext_ret
=
(
const
OpenGL_extension
*
)
bsearch
(
&
ext
,
extension_registry
,
extension_registry_size
,
sizeof
(
OpenGL_extension
),
compar
);
ext_ret
=
bsearch
(
&
ext
,
extension_registry
,
extension_registry_size
,
sizeof
(
OpenGL_extension
),
compar
);
/* If nothing was found, we are looking for a WGL extension or an unknown GL extension. */
if
(
ext_ret
==
NULL
)
{
...
...
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