Skip to content

Commit

Permalink
Merge pull request #3258 from yunline/yunline-BLENDMODE_MUL
Browse files Browse the repository at this point in the history
Add BLENDMODE_MUL to constants
  • Loading branch information
ankith26 authored Dec 11, 2024
2 parents 08d4d23 + 3ef8e8d commit 8a7bbf2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions buildconfig/stubs/pygame/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ from .constants import (
BLENDMODE_ADD as BLENDMODE_ADD,
BLENDMODE_BLEND as BLENDMODE_BLEND,
BLENDMODE_MOD as BLENDMODE_MOD,
BLENDMODE_MUL as BLENDMODE_MUL,
BLENDMODE_NONE as BLENDMODE_NONE,
BLEND_ADD as BLEND_ADD,
BLEND_ALPHA_SDL2 as BLEND_ALPHA_SDL2,
Expand Down
1 change: 1 addition & 0 deletions buildconfig/stubs/pygame/constants.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ BIG_ENDIAN: int
BLENDMODE_ADD: int
BLENDMODE_BLEND: int
BLENDMODE_MOD: int
BLENDMODE_MUL: int
BLENDMODE_NONE: int
BLEND_ADD: int
BLEND_ALPHA_SDL2: int
Expand Down
1 change: 1 addition & 0 deletions buildconfig/stubs/pygame/locals.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ BIG_ENDIAN: int
BLENDMODE_ADD: int
BLENDMODE_BLEND: int
BLENDMODE_MOD: int
BLENDMODE_MUL: int
BLENDMODE_NONE: int
BLEND_ADD: int
BLEND_ALPHA_SDL2: int
Expand Down
1 change: 1 addition & 0 deletions src_c/constants.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ MODINIT_DEFINE(constants)
DEC_CONST(BLENDMODE_BLEND);
DEC_CONST(BLENDMODE_ADD);
DEC_CONST(BLENDMODE_MOD);
DEC_CONST(BLENDMODE_MUL);
DEC_CONST(GL_STEREO);
DEC_CONST(GL_MULTISAMPLEBUFFERS);
DEC_CONST(GL_MULTISAMPLESAMPLES);
Expand Down
1 change: 1 addition & 0 deletions src_c/cython/pygame/_sdl2/video.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ cdef extern from "SDL.h" nogil:
SDL_BLENDMODE_BLEND = 0x00000001,
SDL_BLENDMODE_ADD = 0x00000002,
SDL_BLENDMODE_MOD = 0x00000004,
SDL_BLENDMODE_MUL = 0x00000008,
SDL_BLENDMODE_INVALID = 0x7FFFFFFF

# https://wiki.libsdl.org/SDL_MessageBoxData
Expand Down

0 comments on commit 8a7bbf2

Please sign in to comment.