From 112680014408ab946ad56001dfe53a7035f82d2c Mon Sep 17 00:00:00 2001 From: quou Date: Mon, 30 Dec 2024 12:18:26 +1100 Subject: Update scissor and viewport functions to take ints instead --- video.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video.hpp') diff --git a/video.hpp b/video.hpp index 13dbf16..37a7315 100644 --- a/video.hpp +++ b/video.hpp @@ -295,8 +295,8 @@ struct Pipeline_Builder { void validate_rp(); void begin(); - void viewport(float x, float y, float w, float h); - void scissor(float x, float y, float w, float h); + void viewport(int x, int y, int w, int h); + void scissor(int x, int y, int w, int h); void depth(bool test, bool write, Depth_Mode mode); void blend(Blend_Mode mode, Blend_Factor src, Blend_Factor dst); void blend( -- cgit v1.2.3-54-g00ecf