mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-06 16:00:00 +01:00
Compilation warnings
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
|
||||
#include "Screenshot.h"
|
||||
|
||||
class GLFWmonitor;
|
||||
class GLFWwindow;
|
||||
|
||||
typedef struct GLFWmonitor GLFWmonitor;
|
||||
typedef struct GLFWwindow GLFWwindow;
|
||||
class FrameBuffer;
|
||||
|
||||
struct RenderingAttrib
|
||||
|
||||
@@ -265,7 +265,6 @@ std::string Resource::listDirectory()
|
||||
{
|
||||
// enter icons directory
|
||||
auto fs = cmrc::vmix::get_filesystem();
|
||||
cmrc::file file;
|
||||
cmrc::directory_iterator it = fs.iterate_directory("");
|
||||
cmrc::directory_iterator itend = it.end();
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ using namespace tinyxml2;
|
||||
|
||||
SessionVisitor::SessionVisitor(tinyxml2::XMLDocument *doc,
|
||||
tinyxml2::XMLElement *root,
|
||||
bool recursive) : Visitor(), xmlCurrent_(root), recursive_(recursive)
|
||||
bool recursive) : Visitor(), recursive_(recursive), xmlCurrent_(root)
|
||||
{
|
||||
if (doc == nullptr)
|
||||
xmlDoc_ = new XMLDocument;
|
||||
|
||||
1
Shader.h
1
Shader.h
@@ -41,6 +41,7 @@ class Shader
|
||||
|
||||
public:
|
||||
Shader();
|
||||
virtual ~Shader() {}
|
||||
|
||||
// unique identifyer generated at instanciation
|
||||
inline int id () const { return id_; }
|
||||
|
||||
@@ -12,7 +12,7 @@ UpdateCallback::UpdateCallback() : enabled_(true), finished_(false)
|
||||
}
|
||||
|
||||
MoveToCallback::MoveToCallback(glm::vec3 target, float duration) : UpdateCallback(),
|
||||
target_(target), duration_(duration), progress_(0.f), initialized_(false)
|
||||
duration_(duration), progress_(0.f), initialized_(false), target_(target)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -40,7 +40,7 @@ void MoveToCallback::update(Node *n, float dt)
|
||||
}
|
||||
|
||||
RotateToCallback::RotateToCallback(float target, float duration) : UpdateCallback(),
|
||||
target_(target), duration_(duration), progress_(0.f), initialized_(false)
|
||||
duration_(duration), progress_(0.f), initialized_(false), target_(target)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -2248,8 +2248,6 @@ namespace ImGui
|
||||
int hover(const char *label)
|
||||
{
|
||||
const ImGuiStyle& Style = GetStyle();
|
||||
const ImGuiIO& IO = GetIO();
|
||||
ImDrawList* DrawList = GetWindowDrawList();
|
||||
ImGuiWindow* Window = GetCurrentWindow();
|
||||
if (Window->SkipItems)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user