From 61c40b7a351d18bf0909ec94f9abe4640d8e017c Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Sat, 21 Oct 2023 17:27:04 +0200 Subject: [PATCH] update readme and changelog --- CHANGELOG.md | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee613c59c..f67abcce1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,7 +38,7 @@ The major topic of this update is the 'finalized' WebGPU support in sokol_gfx.h - There is a tiny breaking change in the sokol_gfx.h API (only requires action when not using sokol-shdc): - - the following `sg_sampler_type` enum items have been renamed to better harmonize with WebGPU: + - the following `sg_sampler_type` enum items have been renamed to better match their WebGPU counterparts: - SG_SAMPLERTYPE_SAMPLE => SG_SAMPLERTYPE_FILTERING - SG_SAMPLERTYPE_COMPARE => SG_SAMPLERTYPE_COMPARISON @@ -68,7 +68,7 @@ The major topic of this update is the 'finalized' WebGPU support in sokol_gfx.h - In sokol_app.h, the old wip WebGPU device and swapchain setup code is now implemented in pure C code (previously this was a mix of Javascript and C). -- Also note that sokol_app.h currently only supports WebGPU setup in the Emscripten backend. +- Also note that sokol_app.h currently only supports WebGPU in the Emscripten backend. If you want to use sokol_gfx.h with the WebGPU backend in a native scenario, you'll have to use a different window system glue library (like GLFW). The sokol-samples directory has a handful of examples for using sokol_gfx.h + Dawn + GLFW. diff --git a/README.md b/README.md index 8349a6d80..36e257732 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ 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) (**25-Sep-2023** POTENTIALLY BREAKING: allocator callbacks have been renamed) +[**See what's new**](https://github.com/floooh/sokol/blob/master/CHANGELOG.md) (**21-Oct-2023** WebGPU!) [![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) [![Odin](https://github.com/floooh/sokol-odin/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-odin/actions/workflows/main.yml)[![Rust](https://github.com/floooh/sokol-rust/actions/workflows/main.yml/badge.svg)](https://github.com/floooh/sokol-rust/actions/workflows/main.yml)