mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
Merge branch 'stage-use-alpha' into ebassi-next
* stage-use-alpha: tests: Use accessor methods for :use-alpha stage: Add accessors for :use-alpha tests: Allow setting the stage opacity in test-paint-wrapper stage: Premultiply the stage color stage: Composite the opacity with the alpha channel glx: Always request an ARGB visual stage: Add :use-alpha property materials: Get the right blend function for alpha
This commit is contained in:
commit
1567ab144b
@ -106,7 +106,7 @@ _cogl_material_init_default_material (void)
|
||||
#ifndef HAVE_COGL_GLES
|
||||
material->blend_equation_rgb = GL_FUNC_ADD;
|
||||
material->blend_equation_alpha = GL_FUNC_ADD;
|
||||
material->blend_src_factor_alpha = GL_SRC_ALPHA;
|
||||
material->blend_src_factor_alpha = GL_ONE;
|
||||
material->blend_dst_factor_alpha = GL_ONE_MINUS_SRC_ALPHA;
|
||||
material->blend_constant[0] = 0;
|
||||
material->blend_constant[1] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user