diff options
author | quou <quou@disroot.org> | 2024-12-28 19:04:47 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-28 19:05:47 +1100 |
commit | 6e18511dccd3b1f73110f6d719f7d476a0bf7fba (patch) | |
tree | 465eb2bb94ac6314a3dc94d5723ecea9189d9a2d | |
parent | 7d8c72feb8041a6757a9dacb4e9d8017a689bec4 (diff) |
fix warnings
-rw-r--r-- | sc/includer.cpp | 4 | ||||
-rw-r--r-- | ui.cpp | 2 | ||||
-rw-r--r-- | video.cpp | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/sc/includer.cpp b/sc/includer.cpp index 69d9b6a..485a679 100644 --- a/sc/includer.cpp +++ b/sc/includer.cpp @@ -14,6 +14,9 @@ IncludeResult* Includer::includeSystem( const char* includerName, size_t inclusionDepth ) { + (void)headerName; + (void)includerName; + (void)inclusionDepth; return 0; } @@ -27,6 +30,7 @@ IncludeResult* Includer::includeLocal( char* src; size_t src_size; std::filesystem::path inc(includer_name); + (void)inclusionDepth; inc.remove_filename(); inc /= header_name; auto hn = std::filesystem::absolute(inc).string(); @@ -199,7 +199,7 @@ UI::Label* UI::create_label(const char* t, int x, int y) { } void UI::update(Arena* s) { - + (void)s; } int UI::render_label(const Label* l, int off) { @@ -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); |