diff options
author | quou <quou@disroot.org> | 2024-12-30 12:18:26 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-30 12:18:26 +1100 |
commit | 112680014408ab946ad56001dfe53a7035f82d2c (patch) | |
tree | 1362f53f9c992f52140958416d1c318a59fdc01a /video.hpp | |
parent | b27cc55aa631c52dae4a1a9c8c6888fc063fe022 (diff) |
Update scissor and viewport functions to take ints instead
Diffstat (limited to 'video.hpp')
-rw-r--r-- | video.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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( |