glu32: Implement gluErrorUnicodeStringEXT.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
89edb2eee2
commit
b4e31e0232
|
@ -270,6 +270,24 @@ const GLubyte * WINAPI wine_gluErrorString( GLenum errCode )
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* 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.@)
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
@ stdcall gluEndSurface(ptr) wine_gluEndSurface
|
||||
@ stdcall gluEndTrim(ptr) wine_gluEndTrim
|
||||
@ stdcall gluErrorString(long) wine_gluErrorString
|
||||
@ stub gluErrorUnicodeStringEXT
|
||||
@ stdcall gluErrorUnicodeStringEXT(long) wine_gluErrorUnicodeStringEXT
|
||||
@ stdcall gluGetNurbsProperty(ptr long ptr) wine_gluGetNurbsProperty
|
||||
@ stdcall gluGetString(long) wine_gluGetString
|
||||
@ stdcall gluGetTessProperty(ptr long ptr) wine_gluGetTessProperty
|
||||
|
|
Loading…
Reference in New Issue