Re: [UFO-devel] LibUFO 0.8.4
Status: Beta
Brought to you by:
schmidtjf
From: Johannes S. <sch...@us...> - 2005-11-04 18:18:47
|
On Friday 04 November 2005 17:50, Mobius wrote: > On 04/11/2005 at 16.44 Johannes Schmidt wrote: > >The new style uses every now and then gradients for backgrounds. > >Looking at the gl graphics object, it seems that the shade model is > >overwritten without any warning. > >If you need smooth shading, be sure to set it explicitely before your own > >drawing code (and please write if that worked). > > Ok, maybe I found my problem... :) > Do you use "glEnableClientState" function without "glDisableClientState"? > If I use the instruction "glDisableClientState(GL_COLOR_ARRAY);" before > my rendering code, the program seems to work... Ahh, many thanks. I do not use client states directly, but via a call to glInterleavedArrays. Probably I'll use glPush,PopClientAttrib to avoid pitfalls like this. Kindest regards, Johannes |