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
0128e1a1
Commit
0128e1a1
authored
Apr 06, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glu32: Make gluGetString return the same data as on Windows.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ade10ebc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
glu.c
dlls/glu32/glu.c
+9
-3
No files found.
dlls/glu32/glu.c
View file @
0128e1a1
...
...
@@ -74,6 +74,9 @@ typedef struct {
#define GLU_TESS_EDGE_FLAG_DATA 100110
#define GLU_TESS_COMBINE_DATA 100111
#define GLU_VERSION 100800
#define GLU_EXTENSIONS 100801
#define GLU_INVALID_ENUM 100900
#define GLU_INVALID_VALUE 100901
#define GLU_OUT_OF_MEMORY 100902
...
...
@@ -97,7 +100,6 @@ static void (*p_gluEndSurface)( GLUnurbs* nurb );
static
void
(
*
p_gluEndTrim
)(
GLUnurbs
*
nurb
);
static
const
GLubyte
*
(
*
p_gluErrorString
)(
GLenum
error
);
static
void
(
*
p_gluGetNurbsProperty
)(
GLUnurbs
*
nurb
,
GLenum
property
,
GLfloat
*
data
);
static
const
GLubyte
*
(
*
p_gluGetString
)(
GLenum
name
);
static
void
(
*
p_gluGetTessProperty
)(
GLUtesselator
*
tess
,
GLenum
which
,
GLdouble
*
data
);
static
void
(
*
p_gluLoadSamplingMatrices
)(
GLUnurbs
*
nurb
,
const
GLfloat
*
model
,
const
GLfloat
*
perspective
,
const
GLint
*
view
);
static
void
(
*
p_gluLookAt
)(
GLdouble
eyeX
,
GLdouble
eyeY
,
GLdouble
eyeZ
,
GLdouble
centerX
,
GLdouble
centerY
,
GLdouble
centerZ
,
GLdouble
upX
,
GLdouble
upY
,
GLdouble
upZ
);
...
...
@@ -510,8 +512,12 @@ void WINAPI wine_gluNurbsCallback( GLUnurbs *nobj, GLenum which, void (CALLBACK
*/
const
GLubyte
*
WINAPI
wine_gluGetString
(
GLenum
name
)
{
if
(
!
LOAD_FUNCPTR
(
gluGetString
))
return
NULL
;
return
p_gluGetString
(
name
);
switch
(
name
)
{
case
GLU_VERSION
:
return
(
const
GLubyte
*
)
"1.2.2.0 Microsoft Corporation"
;
/* sic */
case
GLU_EXTENSIONS
:
return
(
const
GLubyte
*
)
""
;
}
return
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