Fix the build

This commit is contained in:
Matthias Clasen 2023-11-19 21:10:05 -05:00
parent a0277a46d3
commit 65b0c289b0

View File

@ -392,13 +392,7 @@ gdk_cairo_draw_from_gl (cairo_t *cr,
else if (source_type == GL_TEXTURE)
{
glBindTexture (GL_TEXTURE_2D, source);
if (gdk_gl_context_has_tex_param (paint_context))
{
glGetTexLevelParameteriv (GL_TEXTURE_2D, 0, GL_TEXTURE_ALPHA_SIZE, &alpha_size);
}
else
{
alpha_size = 1;
if (gdk_gl_context_has_tex_param (paint_context))
glGetTexLevelParameteriv (GL_TEXTURE_2D, 0, GL_TEXTURE_ALPHA_SIZE, &alpha_size);
else