FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DerelictGL glx.d

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
JJR



Joined: 22 Feb 2004
Posts: 1104

PostPosted: Thu Feb 21, 2008 11:30 pm    Post subject: DerelictGL glx.d Reply with quote

While attempting to add Derelict support to DWT-Linux, I came across this incorrectly declared function pointer (in DerelictGL: glx.d -- Line 128):

Code:

typedef XVisualInfo*  function(Display*,int,int)
                            pfglXChooseVisual;


glXChooseVisual is actually defined with a int* as the last parameter (not int).

See here:

http://www.talisman.org/opengl-1.1/Reference/glXChooseVisual.html
.
Anyway, just thought I'd let you know. Smile

-JJR
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Fri Feb 22, 2008 5:42 am    Post subject: Reply with quote

Thanks, John. Fixed in the trunk.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group