Skip to content

Commit f8887c0

Browse files
Raise exception of blend_func issue
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
1 parent d497e25 commit f8887c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arcade/gl/backends/opengl/context.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def blend_func(self, value: Tuple[int, int] | Tuple[int, int, int, int]):
143143
elif len(value) == 4:
144144
gl.glBlendFuncSeparate(*value)
145145
else:
146-
ValueError("blend_func takes a tuple of 2 or 4 values")
146+
raise ValueError("blend_func takes a tuple of 2 or 4 values")
147147

148148
@property
149149
def front_face(self) -> str:

0 commit comments

Comments
 (0)