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
b4e31e02
Commit
b4e31e02
authored
Apr 07, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
glu32: Implement gluErrorUnicodeStringEXT.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
89edb2ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
glu.c
dlls/glu32/glu.c
+18
-0
glu32.spec
dlls/glu32/glu32.spec
+1
-1
No files found.
dlls/glu32/glu.c
View file @
b4e31e02
...
...
@@ -271,6 +271,24 @@ const GLubyte * WINAPI wine_gluErrorString( GLenum errCode )
}
/***********************************************************************
* gluErrorUnicodeStringEXT (GLU32.@)
*/
const
WCHAR
*
WINAPI
wine_gluErrorUnicodeStringEXT
(
GLenum
errCode
)
{
static
WCHAR
errorsW
[
NB_ERRORS
][
64
];
unsigned
int
i
,
j
;
for
(
i
=
0
;
i
<
NB_ERRORS
;
i
++
)
{
if
(
errors
[
i
].
err
!=
errCode
)
continue
;
if
(
!
errorsW
[
i
][
0
])
/* errors use only ASCII, do a simple mapping */
for
(
j
=
0
;
errors
[
i
].
str
[
j
];
j
++
)
errorsW
[
i
][
j
]
=
(
WCHAR
)
errors
[
i
].
str
[
j
];
return
errorsW
[
i
];
}
return
NULL
;
}
/***********************************************************************
* gluScaleImage (GLU32.@)
*/
int
WINAPI
wine_gluScaleImage
(
GLenum
format
,
GLint
widthin
,
GLint
heightin
,
GLenum
typein
,
const
void
*
datain
,
...
...
dlls/glu32/glu32.spec
View file @
b4e31e02
...
...
@@ -15,7 +15,7 @@
@ stdcall gluEndSurface(ptr) wine_gluEndSurface
@ stdcall gluEndTrim(ptr) wine_gluEndTrim
@ stdcall gluErrorString(long) wine_gluErrorString
@ st
ub
gluErrorUnicodeStringEXT
@ st
dcall gluErrorUnicodeStringEXT(long) wine_
gluErrorUnicodeStringEXT
@ stdcall gluGetNurbsProperty(ptr long ptr) wine_gluGetNurbsProperty
@ stdcall gluGetString(long) wine_gluGetString
@ stdcall gluGetTessProperty(ptr long ptr) wine_gluGetTessProperty
...
...
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