---
name: "set_dissolve_blender"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/set_dissolve_blender/3alleg4"
---

# set\_dissolve\_blender(3alleg4)

Enables a dissolve blender mode. Allegro game programming library.

## NAME

set\_dissolve\_blender - Enables a dissolve blender mode. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**void set\_dissolve\_blender(int r, int g, int b, int a);**

## DESCRIPTION

Enables a dissolve blender mode for combining translucent or lit  truecolor pixels. Randomly replaces the colours of some pixels in the  destination image with those of the source image. The number of pixels  replaced depends on the alpha value (higher value, more pixels replaced;  you get the idea :).

## SEE ALSO

**set\_trans\_blender**(3alleg4), **drawing\_mode**(3alleg4)
