Re: [PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES

2021-03-11 Thread Gerd Hoffmann
On Fri, Feb 19, 2021 at 06:48:03PM +0900, Akihiko Odaki wrote: > OpenGL ES does not support conversion from the given data format > to the internal format with glTexImage2D. > > Use the given data format as the internal format, and ignore > the given alpha channels with GL_TEXTURE_SWIZZLE_A in cas

Re: [PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES

2021-02-19 Thread Akihiko Odaki
2021年2月19日(金) 23:14 Gerd Hoffmann : > > On Fri, Feb 19, 2021 at 06:48:03PM +0900, Akihiko Odaki wrote: > > OpenGL ES does not support conversion from the given data format > > to the internal format with glTexImage2D. > > > > Use the given data format as the internal format, and ignore > > the give

Re: [PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES

2021-02-19 Thread Gerd Hoffmann
On Fri, Feb 19, 2021 at 06:48:03PM +0900, Akihiko Odaki wrote: > OpenGL ES does not support conversion from the given data format > to the internal format with glTexImage2D. > > Use the given data format as the internal format, and ignore > the given alpha channels with GL_TEXTURE_SWIZZLE_A in cas

[PATCH] opengl: Do not convert format with glTexImage2D on OpenGL ES

2021-02-19 Thread Akihiko Odaki
OpenGL ES does not support conversion from the given data format to the internal format with glTexImage2D. Use the given data format as the internal format, and ignore the given alpha channels with GL_TEXTURE_SWIZZLE_A in case the format contains alpha channels. Signed-off-by: Akihiko Odaki ---