summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/includer.cpp4
-rw-r--r--ui.cpp2
-rw-r--r--video.cpp4
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();
diff --git a/ui.cpp b/ui.cpp
index dcd6a6a..d142586 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -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) {
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);