mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Fix font textures in OpenGL ES 3.
--HG-- branch : minor
This commit is contained in:
@@ -1051,7 +1051,7 @@ OpenGL::TextureFormat OpenGL::convertPixelFormat(PixelFormat pixelformat, bool r
|
|||||||
|
|
||||||
if (!isPixelFormatCompressed(pixelformat))
|
if (!isPixelFormatCompressed(pixelformat))
|
||||||
{
|
{
|
||||||
if (GLAD_ES_VERSION_2_0 && !(GLAD_ES_VERSION_3_0 && pixelformat != PIXELFORMAT_LA8)
|
if (GLAD_ES_VERSION_2_0 && !(GLAD_ES_VERSION_3_0 && pixelformat == PIXELFORMAT_LA8)
|
||||||
&& !renderbuffer)
|
&& !renderbuffer)
|
||||||
{
|
{
|
||||||
f.internalformat = f.externalformat;
|
f.internalformat = f.externalformat;
|
||||||
|
|||||||
Reference in New Issue
Block a user