From 8d13f73bb3c79812b435bd1b33b100569178d245 Mon Sep 17 00:00:00 2001 From: Eyal Kalderon Date: Fri, 1 Mar 2024 21:06:52 -0500 Subject: [PATCH] Update renderdoc-sys to match upstream API (#151) * Update renderdoc-sys bindings with generate_bindings.sh * Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ renderdoc-sys/src/bindings.rs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 366218f..6b60f8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +### Added + +* Add `eRENDERDOC_Option_SoftMemoryLimit` symbol to `renderdoc-sys` (PR #151). + ## [0.12.0] - 2024-03-01 ### Changed diff --git a/renderdoc-sys/src/bindings.rs b/renderdoc-sys/src/bindings.rs index ee0a7e4..5443783 100644 --- a/renderdoc-sys/src/bindings.rs +++ b/renderdoc-sys/src/bindings.rs @@ -1,4 +1,4 @@ -/* automatically generated by rust-bindgen 0.64.0 */ +/* automatically generated by rust-bindgen 0.69.4 */ pub const eRENDERDOC_Option_AllowVSync: RENDERDOC_CaptureOption = 0; pub const eRENDERDOC_Option_AllowFullscreen: RENDERDOC_CaptureOption = 1; @@ -16,6 +16,7 @@ pub const eRENDERDOC_Option_SaveAllInitials: RENDERDOC_CaptureOption = 9; pub const eRENDERDOC_Option_CaptureAllCmdLists: RENDERDOC_CaptureOption = 10; pub const eRENDERDOC_Option_DebugOutputMute: RENDERDOC_CaptureOption = 11; pub const eRENDERDOC_Option_AllowUnsupportedVendorExtensions: RENDERDOC_CaptureOption = 12; +pub const eRENDERDOC_Option_SoftMemoryLimit: RENDERDOC_CaptureOption = 13; pub type RENDERDOC_CaptureOption = ::std::os::raw::c_uint; pub type pRENDERDOC_SetCaptureOptionU32 = ::std::option::Option< unsafe extern "C" fn(opt: RENDERDOC_CaptureOption, val: u32) -> ::std::os::raw::c_int,