diff --git a/sokol_gfx.h b/sokol_gfx.h index 6a7dbe6e4..9deb1763a 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -10523,8 +10523,7 @@ _SOKOL_PRIVATE void _sg_d3d11_clear_state(void) { } _SOKOL_PRIVATE void _sg_d3d11_reset_state_cache(void) { - // just clear the d3d11 device context state - _sg_d3d11_clear_state(); + // there's currently no state cache in the D3D11 backend, so this is a no-op } _SOKOL_PRIVATE sg_resource_state _sg_d3d11_create_buffer(_sg_buffer_t* buf, const sg_buffer_desc* desc) {