Cleanup: Fix warnings

This commit is contained in:
Miguel Pozo
2024-07-22 16:55:25 +02:00
parent 07c613b485
commit f2c728468c
2 changed files with 1 additions and 5 deletions

View File

@@ -420,7 +420,7 @@ void Instance::render_sample()
if (!is_viewport() && sampling.do_render_sync()) {
render_sync();
if (!info.empty()) {
printf(info.c_str());
printf("%s", info.c_str());
info = "";
}
}

View File

@@ -34,10 +34,6 @@
#include "draw_manager_c.hh"
#include "CLG_log.h"
static CLG_LogRef LOG = {"draw.manager.shader"};
extern "C" char datatoc_gpu_shader_depth_only_frag_glsl[];
extern "C" char datatoc_common_fullscreen_vert_glsl[];