[Bf-committers] small problem with RAS_OpenGLRasterizer/RAS_GLExtensionManager.h

Nathan Letwory jesterking at letwory.net
Wed Jun 4 21:06:03 CEST 2008


On Wed, Jun 4, 2008 at 10:03 PM, Nathan Letwory <jesterking at letwory.net>
wrote:

> On Wed, Jun 4, 2008 at 9:11 PM, Kent Mein <mein at cs.umn.edu> wrote:
>
>> I commited the thing for fixing the spacing for #else
>>
>> Grepping for glActiveTexture in RAS_2DFilterManager.cpp
>> turns up nothing.  This isn't a variable but is actually a function.
>> Any futher hints as to whats going on?
>>
>
> When looking at the gl.h header from my msvc9 install, this function is not
> present. The header gives the following info
>
> #define GL_VERSION_1_1                    1
>
> Maybe it can help more knowledgable people to determine what is going on
> here.
>
> In reply to my own message, looking into glext.h ( version taken from
www.opengl.org/registry ) there is a block:

#define GL_VERSION_1_3 1
#ifdef GL_GLEXT_PROTOTYPES
GLAPI void APIENTRY glActiveTexture (GLenum);
// lots of stuff here
#endif

So I guess glext.h should be included and GL_GLEXT_PROTOTYPES should be
defined.

/Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20080604/9eb92199/attachment.htm 


More information about the Bf-committers mailing list