gl renderer: Don't upload GL textures into the icon cache

This commit is contained in:
Timm Bäder 2019-06-29 07:13:10 +02:00
parent 8dd74eac2e
commit 071748592d

View File

@ -808,7 +808,8 @@ upload_texture (GskGLRenderer *self,
int texture_id;
if (texture->width <= 128 &&
texture->height <= 128)
texture->height <= 128 &&
!GDK_IS_GL_TEXTURE (texture))
{
graphene_rect_t trect;