https://bugs.freedesktop.org/show_bug.cgi?id=90871

--- Comment #51 from Hans de Goede <[email protected]> ---
Hi,

(In reply to Ilia Mirkin from comment #48)
> or (b) make the assumption that rect support is an all-or-nothing thing -- 
> either
> no configs have it or they all do, so no need to check it when evaluating
> fbconfig validity.

To be clear what Ilia is suggesting here (I believe) is to drop the entire
check for GL_ARB_texture_rectangle and instead only check the
GLX_TEXTURE_RECTANGLE_BIT_EXT bit in the value returned for
GLX_BIND_TO_TEXTURE_TARGETS_EXT, and if that is not set then check for
GLX_TEXTURE_2D_BIT_EXT

I agree with Ilia that this should work fine and should fix the detection
problem. Actually I was discussing this bug with Ben Skeggs a couple of day ago
and he suggested to do exactly this.

I can also confirm that with the glPushMatrix call in the right place, and the
rectangle support detection fixed things work fine on a nv34 card.

Regards,

Hans

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to