Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2bc75f1a
Commit
2bc75f1a
authored
Apr 06, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glu32: Implement gluCheckExtension.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8b1fe34a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
glu.c
dlls/glu32/glu.c
+14
-1
No files found.
dlls/glu32/glu.c
View file @
2bc75f1a
...
...
@@ -74,6 +74,9 @@ typedef struct {
#define GLU_TESS_EDGE_FLAG_DATA 100110
#define GLU_TESS_COMBINE_DATA 100111
#define GLU_TRUE GL_TRUE
#define GLU_FALSE GL_FALSE
static
void
(
*
p_gluBeginCurve
)(
GLUnurbs
*
nurb
);
static
void
(
*
p_gluBeginSurface
)(
GLUnurbs
*
nurb
);
static
void
(
*
p_gluBeginTrim
)(
GLUnurbs
*
nurb
);
...
...
@@ -523,7 +526,17 @@ const GLubyte * WINAPI wine_gluGetString( GLenum name )
*/
GLboolean
WINAPI
wine_gluCheckExtension
(
const
GLubyte
*
extName
,
const
GLubyte
*
extString
)
{
return
0
;
const
char
*
list
=
(
const
char
*
)
extString
;
const
char
*
ext
=
(
const
char
*
)
extName
;
size_t
len
=
strlen
(
ext
);
while
(
list
)
{
while
(
*
list
==
' '
)
list
++
;
if
(
!
strncmp
(
list
,
ext
,
len
)
&&
(
!
list
[
len
]
||
list
[
len
]
==
' '
))
return
GLU_TRUE
;
list
=
strchr
(
list
,
' '
);
}
return
GLU_FALSE
;
}
/***********************************************************************
...
...
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