Commit b4e31e02 authored by Alexandre Julliard's avatar Alexandre Julliard

glu32: Implement gluErrorUnicodeStringEXT.

parent 89edb2ee
......@@ -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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment