summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-02-06 17:44:54 +0100
committerAndre Weissflog <floooh@gmail.com>2023-02-06 17:44:54 +0100
commit67ea8b105633b9a85cb37f66569a1ed8ca0ac11e (patch)
tree2053ffd754f0d58615ae0f3c02edafb82583c889
parent4d60260b395e6616d2fa9ea132f4cf512f497976 (diff)
sokol_gfx.h d3d11: fix compile error
-rw-r--r--sokol_gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 1a5a9124..823a53c1 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -10190,7 +10190,7 @@ _SOKOL_PRIVATE int _sg_d3d11_append_buffer(_sg_buffer_t* buf, const sg_range* da
_sg_d3d11_Unmap(_sg.d3d11.ctx, (ID3D11Resource*)buf->d3d11.buf, 0);
}
else {
- _SG_ERROR(D3D11_MAP_FOR_BUFFER_APPEND_FAILED);
+ _SG_ERROR(D3D11_MAP_FOR_APPEND_BUFFER_FAILED);
}
/* NOTE: this alignment is a requirement from WebGPU, but we want identical behaviour across all backend */
return _sg_roundup((int)data->size, 4);