diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -721,12 +721,10 @@ layer_video_alpha(struct layer_video *ctx, float opacity) Uint8 alpha = (Uint8)ceilf(opacity*SDL_ALPHA_OPAQUE); ctx->alpha = opacity; - SDL_LockMutex(ctx->mutex); if (alpha == SDL_ALPHA_OPAQUE) SDL_SetAlpha(ctx->surf, 0, 0); else SDL_SetAlpha(ctx->surf, SDL_SRCALPHA | SDL_RLEACCEL, alpha); - SDL_UnlockMutex(ctx->mutex); } static void |