From edc84213fadc9bbd30030a57600550bde562b24e Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 27 Dec 2024 11:33:28 +1100 Subject: allow renderpasses to specify a clear mode and pipelines to specify their viewport and scissor --- c2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c2.cpp') diff --git a/c2.cpp b/c2.cpp index 052ebf0..3ea05b9 100644 --- a/c2.cpp +++ b/c2.cpp @@ -127,7 +127,7 @@ int main() { pb.rp_target(dev->get_backbuffer(), { r, 0x00, 0xff, 0xff }); Render_Pass& pass = pb.build_rp(); - pb.begin(); + pb.begin(dev); pb.shader(shader->id); pb.vertex_format(shader->vf); pb.texture( -- cgit v1.2.3-54-g00ecf