Skip to content
Snippets Groups Projects
Commit 2cfac64a authored by Olivier Fourdan's avatar Olivier Fourdan :tools:
Browse files

compositor: Fix GL without ARB_texture_rectangle

Bug 11962

The compositor using GL for tear-free rendering would generate corrupted
output on some older nv34 card because it wrongly uses GL_TEXTURE_2D
instead of GL_TEXTURE_RECTANGLE_ARB which is supported on this hardware.

Remove detection of "GL_ARB_texture_rectangle" and
"GL_ARB_texture_non_power_of_two" which are GL extensions, not GLX.

Instead, rely on GLX_BIND_TO_TEXTURE_TARGETS_EXT returned values to
determine the texture type and target to use.

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


Thanks to Hans de Goede <jwrdegoede@fedoraproject.org> and Ilia Mirkin
<imirkin@alum.mit.edu> for their help on this issue.

Signed-off-by: default avatarOlivier Fourdan <fourdan@xfce.org>
parent 0dfb5540
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment