Fix metal viewport

This commit is contained in:
Lubos Lenco
2024-11-18 19:35:24 +01:00
parent 2eda9314ad
commit f855f1a7d3
@@ -117,6 +117,8 @@ void kinc_g5_command_list_viewport(kinc_g5_command_list_t *list, int x, int y, i
viewport.originY = y;
viewport.width = width;
viewport.height = height;
viewport.znear = 0.1;
viewport.zfar = 100.0;
[encoder setViewport:viewport];
}