From owner-freebsd-x11@FreeBSD.ORG Thu Apr 30 14:22:20 2009 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC12E106566B for ; Thu, 30 Apr 2009 14:22:20 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 31DFF8FC0C for ; Thu, 30 Apr 2009 14:22:19 +0000 (UTC) (envelope-from lehmann@ans-netz.de) Received: (qmail 10454 invoked by uid 89); 30 Apr 2009 14:22:19 -0000 Message-ID: <20090430142219.10453.qmail@avocado.salatschuessel.net> 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> In-Reply-To: <20090430131612.GA59668@slackbox.xs4all.nl> From: "Oliver Lehmann" To: Roland Smith Date: Thu, 30 Apr 2009 16:22:19 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Cc: Tom Evans , x11@freebsd.org Subject: Re: Problem with OpenGL and ATI HD3850 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2009 14:22:21 -0000 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?