diff options
author | quou <quou@disroot.org> | 2024-12-27 11:33:28 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-27 11:33:28 +1100 |
commit | edc84213fadc9bbd30030a57600550bde562b24e (patch) | |
tree | 7a2aa3869a1e00f8e8841ae60ed8fc186a3e6df9 /c2.cpp | |
parent | 7fa078995b3ed62925788ce2460441bc3d373392 (diff) |
allow renderpasses to specify a clear mode and pipelines to specify their viewport and scissor
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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( |