Bugs item #1554931, was opened at 2006-09-08 13:12
Message generated for change (Comment added) made by brianp
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100003&aid=1554931&group_id=3

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GLU
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Michel Donais (cpct0)
Assigned to: Nobody/Anonymous (nobody)
Summary: mipmap.c fails compile with RESOLVE_3D_TEXTURE_SUPPORT (Win)

Initial Comment:
On Win32, the following lines bork (lines 6680&up in
mipamp.c)

typedef GLAPI void (GLAPIENTRY *TexImage3Dproc)( GLenum
target, GLint level,
...
static TexImage3Dproc pTexImage3D;


There are multiple storage specifiers for the lines,
due to GLAPI. The way I could make it compile is with
the following:

typedef void (GLAPIENTRY *TexImage3Dproc)( GLenum
target, GLint level,
...
GLAPI TexImage3Dproc pTexImage3D;

however, I know it's not precisely the same thing. But
at least, it compiles on my side. I do not use Tex3D
features of GLU so I do not know if it effectively
works or not, my goal here was to make it compile.


Also, there are the following two lines (a few lines
later):
#ifndef WIN32
#ifdef WIN32

They both fail to produce the intended result, as WIN32
is not defined, the proper flag is: _WIN32. So these
should be changed to:

#ifndef _WIN32
#ifdef _WIN32


----------------------------------------------------------------------

>Comment By: Brian Paul (brianp)
Date: 2006-09-11 10:39

Message:
Logged In: YES 
user_id=983

Thanks.  Fixed in CVS.  Next time though, report bugs on
freedesktop.org


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100003&aid=1554931&group_id=3

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to