Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kassane committed Apr 2, 2024
1 parent bbc45ed commit 198b0d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sokol/c/sokol_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
sapp_consume_event() from inside the event handler (NOTE that
this behaviour is currently only implemented for some HTML5
events, support for other platforms and event types will
be added as needed, please open a github ticket and/or provide
be added as needed, please open a GitHub ticket and/or provide
a PR if needed).
NOTE: Do *not* call any 3D API rendering functions in the event
Expand Down
2 changes: 1 addition & 1 deletion src/sokol/c/sokol_gfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@ typedef enum sg_image_type {
is compatible with what the shader expects. Apart from the sokol-gfx
validation layer, WebGPU is the only backend API which actually requires
matching texture and sampler type to be provided upfront for validation
(after 3D APIs treat texture/sampler type mismatches as undefined behaviour).
(other 3D APIs treat texture/sampler type mismatches as undefined behaviour).

NOTE that the following texture pixel formats require the use
of SG_IMAGESAMPLETYPE_UNFILTERABLE_FLOAT, combined with a sampler
Expand Down

0 comments on commit 198b0d3

Please sign in to comment.