Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 2009 16:22:19 +0200
From:      "Oliver Lehmann" <oliver@FreeBSD.org>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        Tom Evans <tevans.uk@googlemail.com>, x11@freebsd.org
Subject:   Re: Problem with OpenGL and ATI HD3850
Message-ID:  <20090430142219.10453.qmail@avocado.salatschuessel.net>
In-Reply-To: <20090430131612.GA59668@slackbox.xs4all.nl>
References:  <20090429164113.f0b48048.lehmann@ans-netz.de> <20090429163843.GB370@slackbox.xs4all.nl> <18936.36210.823588.838523@gromit.timing.com> <20090430063454.969303d0.lehmann@ans-netz.de> <1241092672.3294.6.camel@localhost> <20090430122155.6643.qmail@avocado.salatschuessel.net> <20090430131612.GA59668@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 

Roland Smith writes: 

> According to the manual page (1), glGetString returns 0 when an error
> occurs. E.g. if the name argument isn't recognized, or if it is called
> between a glBegin and glEnd call. Maybe the latter is the case here?
> Because otherwise it should just return a pointer to a static string.

As far as I can see, it is not between a glBegin and glEnd call. Is there 
something like an error buffer I can query to see what went wrong here?
glGetError() also returns null.... 

Isn't there something the program should do before glGetString returns 
something? I mean, may I just include the printf's in a "hello world" C 
program and they just return the requested data? Probably not - or?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090430142219.10453.qmail>