GLES: Fixed RGBA32F detection.
This commit is contained in:
parent
7749b745f7
commit
600ef81fb5
@ -1622,7 +1622,7 @@ namespace bgfx { namespace gl
|
||||
if (BX_ENABLED(BGFX_CONFIG_RENDERER_OPENGLES < 30) )
|
||||
{
|
||||
setTextureFormat(TextureFormat::RGBA16F, GL_RGBA, GL_RGBA, GL_HALF_FLOAT);
|
||||
setTextureFormat(TextureFormat::RGBA32F, GL_RGBA, GL_RGBA, GL_HALF_FLOAT);
|
||||
setTextureFormat(TextureFormat::RGBA32F, GL_RGBA, GL_RGBA, GL_FLOAT);
|
||||
// internalFormat and format must match:
|
||||
// https://www.khronos.org/opengles/sdk/docs/man/xhtml/glTexImage2D.xml
|
||||
setTextureFormat(TextureFormat::RGBA8, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user