ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

const GLubyte* GLAPIENTRY gluErrorString ( GLenum  errorCode)

Definition at line 47 of file error.c.

{
    switch (errorCode)
    {
    case GL_NO_ERROR:
        return (const GLubyte *) "no error";
    case GL_INVALID_ENUM:
        return (const GLubyte *) "invalid enumerant";
    case GL_INVALID_VALUE:
        return (const GLubyte *) "invalid value";
    case GL_INVALID_OPERATION:
        return (const GLubyte *) "invalid operation";
    case GL_STACK_OVERFLOW:
        return (const GLubyte *) "stack overflow";
    case GL_STACK_UNDERFLOW:
        return (const GLubyte *) "stack underflow";
    case GL_OUT_OF_MEMORY:
        return (const GLubyte *) "out of memory";
    case GL_TABLE_TOO_LARGE:
        return (const GLubyte *) "table too large";
    case GLU_INVALID_ENUM:
        return (const GLubyte *) "invalid enumerant";
    case GLU_INVALID_VALUE:
        return (const GLubyte *) "invalid value";
    case GLU_OUT_OF_MEMORY:
        return (const GLubyte *) "out of memory";
    case GLU_INCOMPATIBLE_GL_VERSION:
        return (const GLubyte *) "incompatible gl version";
    case GLU_INVALID_OPERATION:
        return (const GLubyte *) "invalid operation";
    }

    if ((errorCode >= GLU_NURBS_ERROR1) && (errorCode <= GLU_NURBS_ERROR37)) {
    return (const GLubyte *) __gluNURBSErrorString(errorCode - (GLU_NURBS_ERROR1 - 1));
    }
    if ((errorCode >= GLU_TESS_ERROR1) && (errorCode <= GLU_TESS_ERROR6)) {
    return (const GLubyte *) __gluTessErrorString(errorCode - (GLU_TESS_ERROR1 - 1));
    }

    return (const GLubyte *) 0;
}

Generated on Wed May 23 2012 04:41:19 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.