소스 검색

update changelog and readme

Andre Weissflog 3 년 전
부모
커밋
c07c12b1ea
2개의 변경된 파일13개의 추가작업 그리고 4개의 파일을 삭제
  1. 11 2
      CHANGELOG.md
  2. 2 2
      README.md

+ 11 - 2
CHANGELOG.md

@@ -1,5 +1,14 @@
 ## Updates
 
+- **29-Jun-2022**: In sokol_app.h with the D3D11 backend, if SOKOL_DEBUG is
+defined, and the D3D11 device creation fails, there's now a fallback code
+path which tries to create the device again without the D3D11_CREATE_DEVICE_DEBUG
+flag. Turns out the D3D11 debug support may suddenly stop working (just happened
+to me, indicated by the Win10 "Graphics Tool" feature being silently uninstalled
+and failing to install when asked to do so). This fix at least allows sokol_app.h
+applications compiled in debug mode to run, even if the D3D11 debug layer doesn't
+work.
+
 - **29-May-2022**: The code generation scripts for the
 [sokol-nim](https://github.com/floooh/sokol-nim) language bindings have been
 revised and updated, many thanks to Gustav Olsson for the PR! (I'm planning to
@@ -54,9 +63,9 @@ so that it's easier to publish new bindings after updates to the sokol headers).
   This change breaks source compatibility in the following headers:
 
     - **sokol_fontstash.h**: the function signature of ```sfons_create()``` has changed,
-      this now takes a pointer to a new ```sfons_desc_t``` struct instead of 
+      this now takes a pointer to a new ```sfons_desc_t``` struct instead of
       individual parameters.
-    - **sokol_gfx_imgui.h** (NOT sokol_imgui.h!): likewise, the function signature of 
+    - **sokol_gfx_imgui.h** (NOT sokol_imgui.h!): likewise, the function signature of
       ```sg_imgui_init()``` has changed, this now takes an additional parameter
       which is a pointer to a new ```sg_imgui_desc_t``` struct.
 

+ 2 - 2
README.md

@@ -4,8 +4,8 @@ Simple
 [STB-style](https://github.com/nothings/stb/blob/master/docs/stb_howto.txt)
 cross-platform libraries for C and C++, written in C.
 
-[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**08-Feb-2022** sokol_imgui.h has been
-updated for Dear ImGui v1.87 (support the new evented IO system, and remove the self-rolled input buffering in sokol_imgui.h)
+[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**29-Jun-2022** sokol_app.h D3D11: in debug
+mode, retry failed device creation without D3D11_CREATE_DEVICE_DEBUG flag)
 
 [![Build](/../../actions/workflows/main.yml/badge.svg)](/../../actions/workflows/main.yml) [![Bindings](/../../actions/workflows/gen_bindings.yml/badge.svg)](/../../actions/workflows/gen_bindings.yml) [![build](https://github.com/floooh/sokol-zig/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-zig/actions/workflows/main.yml) [![build](https://github.com/floooh/sokol-nim/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-nim/actions/workflows/main.yml)