Skip to content

Commit

Permalink
Release v0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage committed Oct 17, 2024
1 parent ed058bf commit 096a0b7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)

set(PLUTOVG_VERSION_MAJOR 0)
set(PLUTOVG_VERSION_MINOR 0)
set(PLUTOVG_VERSION_MICRO 7)
set(PLUTOVG_VERSION_MICRO 8)

project(plutovg LANGUAGES C VERSION ${PLUTOVG_VERSION_MAJOR}.${PLUTOVG_VERSION_MINOR}.${PLUTOVG_VERSION_MICRO})

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Releases](https://img.shields.io/badge/Version-0.0.7-orange.svg)](https://github.com/sammycage/plutovg/releases)
[![Releases](https://img.shields.io/badge/Version-0.0.8-orange.svg)](https://github.com/sammycage/plutovg/releases)
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/sammycage/plutovg/blob/main/LICENSE)
[![Build Status](https://github.com/sammycage/plutovg/actions/workflows/main.yml/badge.svg)](https://github.com/sammycage/plutovg/actions)
[![CodeFactor](https://www.codefactor.io/repository/github/sammycage/plutovg/badge)](https://www.codefactor.io/repository/github/sammycage/plutovg)
Expand Down
2 changes: 1 addition & 1 deletion include/plutovg.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extern "C" {

#define PLUTOVG_VERSION_MAJOR 0
#define PLUTOVG_VERSION_MINOR 0
#define PLUTOVG_VERSION_MICRO 7
#define PLUTOVG_VERSION_MICRO 8

#define PLUTOVG_VERSION_ENCODE(major, minor, micro) (((major) * 10000) + ((minor) * 100) + ((micro) * 1))
#define PLUTOVG_VERSION PLUTOVG_VERSION_ENCODE(PLUTOVG_VERSION_MAJOR, PLUTOVG_VERSION_MINOR, PLUTOVG_VERSION_MICRO)
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('plutovg', 'c',
version: '0.0.7',
version: '0.0.8',
license: 'MIT',
meson_version: '>=0.59.0',
default_options: ['c_std=c99']
Expand Down
2 changes: 1 addition & 1 deletion source/plutovg-blend.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,8 +919,8 @@ static void plutovg_blend_color(plutovg_canvas_t* canvas, const plutovg_color_t*
{
plutovg_state_t* state = canvas->state;
uint32_t solid = premultiply_color_with_opacity(color, state->opacity);

uint32_t alpha = plutovg_alpha(solid);

if(alpha == 255 && state->op == PLUTOVG_OPERATOR_SRC_OVER) {
blend_solid(canvas->surface, PLUTOVG_OPERATOR_SRC, solid, span_buffer);
} else {
Expand Down

0 comments on commit 096a0b7

Please sign in to comment.