[PATCH weston 4/5] gl-renderer: fix pixel format used in texture uploads when using R/RG textures

Daniel Stone daniel at fooishbar.org
Mon Dec 11 09:42:56 UTC 2017


Hi Arnaud,

On 29 November 2017 at 14:06, Arnaud Vrac <rawoul at gmail.com> wrote:
> In glTexImage2D / glTexSubImage2D calls, the only pixel formats allowed
> for the GL_R8 and GL_RG internal formats are respectively GL_RED and
> GL_RG [1].
>
> Make sure we match this requirement, as some drivers will fail with the
> current code.

I've reviewed and pushed this and 5/5. You can re-send the first 3
with my Reviewed-by after dealing with Emil's suggestions.

Cheers,
Daniel


More information about the wayland-devel mailing list