aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2021-02-10 23:42:34 +0100
committerAndre Weissflog <floooh@gmail.com>2021-02-10 23:42:34 +0100
commit29bbcd84147e287c501fbcbdb105d56e7aee3934 (patch)
tree5ff7ea7159af41b8cd5abdbdcd4bd4f391aaac49
parentd4e3b560c3e4c48b2af2b2386eda26899707fc2f (diff)
sokol_gfx.h VS2015: disable both warning C4054 and C4055
-rw-r--r--sokol_gfx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index d85de83f..d9a9e4da 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -2502,7 +2502,8 @@ inline int sg_append_buffer(sg_buffer buf_id, const sg_range& data) { return sg_
#pragma warning(disable:4115) /* named type definition in parentheses */
#pragma warning(disable:4505) /* unreferenced local function has been removed */
#pragma warning(disable:4201) /* nonstandard extension used: nameless struct/union (needed by d3d11.h) */
-#pragma warning(disable:4055) /* 'type cast': from function pointer 'FARPROC' to data pointer 'void *' */
+#pragma warning(disable:4054) /* 'type cast': from function pointer */
+#pragma warning(disable:4055) /* 'type cast': from data pointer */
#endif
#if defined(SOKOL_GLCORE33) || defined(SOKOL_GLES2) || defined(SOKOL_GLES3)