Skip to content
This repository was archived by the owner on Jan 17, 2026. It is now read-only.

Commit 17e929a

Browse files
committed
Invalid
1 parent 142cac6 commit 17e929a

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

Coplt.Sdl3/Structs/SDL_gpu.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public enum SDL_GPUBufferUsageFlags : uint
2828
[Flags]
2929
public enum SDL_GPUShaderFormat : uint
3030
{
31+
Invalid = 0,
3132
Private = 1u << 0,
3233
Spirv = 1u << 1,
3334
Dxbc = 1u << 2,

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Coplt.Sdl3
22

33
[![Nuget](https://img.shields.io/nuget/v/Coplt.Sdl3)](https://www.nuget.org/packages/Coplt.Sdl3/)
4+
[![Generate Bindings](https://github.com/coplt/Coplt.Sdl3/actions/workflows/generate-bindings.yml/badge.svg)](https://github.com/coplt/Coplt.Sdl3/actions/workflows/generate-bindings.yml)
5+
[![Build Native](https://github.com/coplt/Coplt.Sdl3/actions/workflows/build-native.yml/badge.svg)](https://github.com/coplt/Coplt.Sdl3/actions/workflows/build-native.yml)
46

57
Unsafe C# bindings for SDL3
68

Scripts/PreGen.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ let flags_regex =
4040
)
4141

4242
let val_regex =
43-
Regex("(?<val>0x[\da-fA-F]+u)|SDL_UINT64_C\((?<val>0x[\da-fA-F]+)\)|\((?<val>\d+u << \d+)\)")
43+
Regex("(?<val>0x[\da-fA-F]+u)|SDL_UINT64_C\((?<val>0x[\da-fA-F]+)\)|\((?<val>\d+u << \d+)\)|(?<val>0)")
4444

4545
for path in File.ReadLines("./HeadersToGen.txt") do
4646
let flags = Dictionary<string, List<string>>()

0 commit comments

Comments
 (0)