summaryrefslogtreecommitdiff
path: root/video.cpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-12-28 19:04:47 +1100
committerquou <quou@disroot.org>2024-12-28 19:05:47 +1100
commit6e18511dccd3b1f73110f6d719f7d476a0bf7fba (patch)
tree465eb2bb94ac6314a3dc94d5723ecea9189d9a2d /video.cpp
parent7d8c72feb8041a6757a9dacb4e9d8017a689bec4 (diff)
fix warnings
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);