mirror of
https://github.com/game-stop/veejay.git
synced 2026-01-06 06:55:31 +01:00
fix void - int problem in opacity effect
git-svn-id: svn://code.dyne.org/veejay/trunk@783 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
@@ -91,7 +91,7 @@ static inline int blend_plane(uint8_t *dst, uint8_t *A, uint8_t *B, int size, in
|
||||
return i;
|
||||
}
|
||||
#else
|
||||
static inline void blend_plane( uint8_t *dst, uint8_t *A, uint8_t *B, int size, int opacity )
|
||||
static inline int blend_plane( uint8_t *dst, uint8_t *A, uint8_t *B, int size, int opacity )
|
||||
{
|
||||
unsigned int i, op0, op1;
|
||||
op1 = (opacity > 255) ? 255 : opacity;
|
||||
|
||||
Reference in New Issue
Block a user