summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video.cpp')
-rw-r--r--video.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/video.cpp b/video.cpp
index f20fdb8..4a79adb 100644
--- a/video.cpp
+++ b/video.cpp
@@ -590,7 +590,6 @@ struct Pipeline_Vk {
);
void init_viewport(
Arena& scope,
- Device_Vk* dev,
VkGraphicsPipelineCreateInfo& info,
const Pipeline& desc
);
@@ -2209,7 +2208,6 @@ void Pipeline_Vk::init_input_assembly(
void Pipeline_Vk::init_viewport(
Arena& scope,
- Device_Vk* dev,
VkGraphicsPipelineCreateInfo& info,
const Pipeline& desc
) {
@@ -2444,7 +2442,7 @@ void Pipeline_Vk::init(Device_Vk* dev, const Pso_Key& key) {
init_stages(scope, dev, info, desc);
init_vertex_input(scope, dev, info, desc);
init_input_assembly(scope, dev, info, desc);
- init_viewport(scope, dev, info, desc);
+ init_viewport(scope, info, desc);
init_rasterisation(scope, dev, info, desc);
init_msaa(scope, dev, info, desc);
init_depthstencil(scope, dev, info, desc);