ogl-sample
[Top] [All Lists]

[ogl-sample] suggested change for glcore.h

To: "ogl-sample@xxxxxxxxxxx" <ogl-sample@xxxxxxxxxxx>
Subject: [ogl-sample] suggested change for glcore.h
From: Brian Paul <brianp@xxxxxxxxxxx>
Date: Fri, 27 Apr 2001 14:54:08 -0600
Organization: VA Linux Systems, Inc.
Reply-to: ogl-sample@xxxxxxxxxxx
Sender: owner-ogl-sample@xxxxxxxxxxx
The gfx/include/gl/internal/glcore.h file has the following:


#if __GL_NUMBER_OF_AUX_BUFFERS > 0
    __GLdrawableBuffer *auxBuffer;
#endif


The problem is __GL_NUMBER_OF_AUX_BUFFERS is never defined, resulting
in a lot of compiler warnings.  The suggested change is:

#if defined(__GL_NUMBER_OF_AUX_BUFFERS) && (__GL_NUMBER_OF_AUX_BUFFERS > 0)
    __GLdrawableBuffer *auxBuffer;
#endif


-Brian

<Prev in Thread] Current Thread [Next in Thread>
  • [ogl-sample] suggested change for glcore.h, Brian Paul <=