hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/platform/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform/opengl')
-rw-r--r--src/platform/opengl/shader.cpp2
-rw-r--r--src/platform/opengl/texture.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/opengl/shader.cpp b/src/platform/opengl/shader.cpp
index 34a2857..3831177 100644
--- a/src/platform/opengl/shader.cpp
+++ b/src/platform/opengl/shader.cpp
@@ -81,7 +81,7 @@ namespace Donut
{
in.seekg(0, std::ios::end);
size_t size = in.tellg();
- if (size != -1)
+ if (size != static_cast<size_t>(-1))
{
result.resize(size);
in.seekg(0, std::ios::beg);
diff --git a/src/platform/opengl/texture.cpp b/src/platform/opengl/texture.cpp
index 07455fe..11ae1e3 100644
--- a/src/platform/opengl/texture.cpp
+++ b/src/platform/opengl/texture.cpp
@@ -245,7 +245,7 @@ namespace Donut
glDeleteRenderbuffers(1, &capture_rbo);
}
- auto CubemapTexture::set_data(void* data, uint32_t size) -> void
+ auto CubemapTexture::set_data(void*, uint32_t) -> void
{
DONUT_WARN("set_data not implemented for cubemaps");
}