forked from AuroraMiddleware/gtk
gl renderer: Don't upload GL textures into the icon cache
This commit is contained in:
parent
8dd74eac2e
commit
071748592d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user