Fix the build
This commit is contained in:
parent
a0277a46d3
commit
65b0c289b0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user