gingerBill
7e41340510
Unify IUnknown COM interface
2024-07-10 15:20:07 +01:00
IllusionMan1212
0c27d95679
vendor/x11: some XKB extension procedures and constants
2024-07-08 21:00:19 +02:00
Laytan Laats
bcdb202639
vendor/fontstash: fix 'AddFont' proc group for JS target
2024-07-04 16:50:58 +02:00
Feoramund
bb6cbf6559
Fix SDL constants
2024-07-03 15:22:39 -04:00
gingerBill
8b49549fd3
Merge pull request #3859 from laytan/wasm-stbtt-object-linking-preopens
...
wasm: support `vendor:stb/truetype` and `vendor:fontstash`
2024-07-02 22:14:54 +01:00
Laytan Laats
761a50e145
vendor/wgpu: fix linker errors with empty project
2024-07-02 22:37:02 +02:00
Laytan Laats
0ef5191540
use slice.ptr_swap instead of alloca
2024-07-02 20:11:44 +02:00
Laytan Laats
10c68a8951
wasm: support vendor:stb/truetype and vendor:fontstash
2024-07-02 16:03:42 +02:00
gingerBill
e296d6fb90
Fix loads of indentation issues with mixing spaces and tabs
2024-06-29 19:50:51 +01:00
gingerBill
103eccf104
More style improvements
2024-06-29 19:23:58 +01:00
gingerBill
5413a8b744
Even more style fixes
2024-06-29 19:11:36 +01:00
gingerBill
3f9a58808c
More style improvements
2024-06-29 19:07:34 +01:00
gingerBill
96330996a6
Fix indentation
2024-06-29 18:51:39 +01:00
Matthew Pohlmann
4bf9de7237
SupportedLimitsExtras.chain should be a ChainedStructOut to properly chain from SupportedLimits
2024-06-27 21:53:16 -07:00
Matthew Pohlmann
0a504c2647
Some fixes to wgpu_native.
...
1. LogCallback should have the "c" calling convention and takes a
userdata pointer like other callbacks.
2. DevicePoll's wrappedSubmissionIndex argument is an optional in/out
parameter. The previous wrapper method was broken since it passed a
non-nil structure to the underlying API with invalid members.
2024-06-27 21:41:48 -07:00
Tadeo hepperle
b834bd32f5
fix typo
2024-06-26 20:31:43 +02:00
Tadeo hepperle
67e69f7196
Merge branch 'master' into fix-vulkan-codegen-arrays-as-proc-args
2024-06-26 19:31:00 +02:00
Tadeo hepperle
18dadd94e3
fix proc parsing
2024-06-26 19:30:21 +02:00
Jeroen van Rijn
e42029c5ed
wgpu ld -> dl
2024-06-25 01:35:26 +02:00
Jeroen van Rijn
8eafd9eb82
wgpu import
2024-06-23 22:19:29 +02:00
gingerBill
8b446fc88d
Fix wgpu paths for Windows
2024-06-20 12:18:26 +01:00
gingerBill
7184792f7a
Merge pull request #3740 from laytan/wgpu
...
Add `vendor:wgpu`
2024-06-20 11:39:58 +01:00
Fabian Sperber
0e9bf86123
Fix d3d11 IInfoQueue_VTable & Add LoadLibraryExW
...
- wrong order & was missing PushStorageFilter & PushRetrievalFilter
2024-06-19 22:22:26 +02:00
gingerBill
a67df07392
Merge pull request #3742 from karl-zylinski/fix-raymath-matrix-to-float
...
Make rl.MatrixToFloatV do same thing in Odin as in C
2024-06-12 23:15:48 +01:00
Karl Zylinski
c7ea4ec71c
rlgl: Pull in raylib and expose missing types, so it is the same as rlgl.h. This makes rlgl less stand-alone, but I left some notes in rlgl.odin how to easily make it stand-alone if one really wants to.
2024-06-12 21:13:12 +02:00
Karl Zylinski
d37b5a7b67
Make rl.MatrixToFloatV transpose the matrix before transmuting it to [16]f32, so it does the same thing as the raymath version implemented in C.
2024-06-12 19:54:14 +02:00
Laytan Laats
108b8feb35
Add vendor:wgpu
2024-06-12 17:22:02 +02:00
gingerBill
cb45aa58fd
Merge pull request #3731 from karl-zylinski/rlgl-subpackage
...
Move rlgl to vendor:raylib/rlgl
2024-06-12 11:51:16 +01:00
Karl Zylinski
1a22f82f94
Changed rl.SetShaderValue etc to take a c.int like in original raylib.h. You should be able to use other values than the ShaderLocationIndex enum, that enum is only for build in things in raylib. Added #any_int on those procs so you can pass both int and also a ShaderLocationIndex.
2024-06-11 18:03:20 +02:00
Karl Zylinski
c9e732d141
rlgl.RLGL_VERSION -> rlgl.VERSION
2024-06-11 08:59:30 +02:00
Karl Zylinski
d2cd96c3c8
Made rlgl.odin work as a subpackage of raylib. So now you import vendor:raylib/rlgl. Instead of rl.rlBegin(rl.RL_TRIANGLES) you now type rlgl.Begin(rlgl.TRIANGLES).
2024-06-11 08:46:44 +02:00
Karl Zylinski
34af2bb8ad
Moved rlgl.odin to subpackage 'raylib/rlgl'
2024-06-11 08:34:45 +02:00
gingerBill
371749d474
Make certain procedures "contextless" for microui
2024-06-08 14:48:04 +01:00
gingerBill
ff37a7435c
Add parentheses around the foreign import paths
2024-06-06 21:03:35 +01:00
Hector
483015fe57
Updated SDL_CreateTexture to take PixelFormatEnum instead of u32
2024-06-06 11:47:59 +01:00
Colin Davidson
70592630a4
add support for title changes, cursor config, and dnd
2024-06-06 02:39:48 -07:00
Mark Sniffen
cd4375061c
D3D11 - fixed VIDEO_SUPPORT flag
2024-06-05 10:11:18 -04:00
gingerBill
a0b1b8d1c3
Merge pull request #3673 from laytan/implement-foreign-import-improvements-on-vendor
...
Implement `#exists(path)` and use it to provide good errors for common missing vendor libraries
2024-06-04 19:57:09 +01:00
Laytan Laats
dbaf1a1ce0
compile stb_vorbis
2024-06-04 20:26:21 +02:00
Laytan Laats
3e159736cd
use #exists to provide good errors for common missing libraries
2024-06-04 20:13:51 +02:00
gingerBill
3b7100f8e5
raygui: change c.int to their correct enum types
2024-06-04 16:17:49 +01:00
gingerBill
11b1a48bf0
Fix extra_linker_flags for raylib on windows
2024-06-04 15:54:57 +01:00
gingerBill
72ce111a95
Keep -vet happy
2024-06-04 15:51:19 +01:00
gingerBill
606608c02b
Utilize foreign import constant strings for foreign imports
2024-06-04 15:49:17 +01:00
gingerBill
eacf2918ad
Merge pull request #3469 from hodgka/raylib_resizable_doc_patch
...
Fixed typo in raylib documentation
2024-06-04 15:41:15 +01:00
Colin Davidson
52ba3357ee
oops, missed shuffling a few x-funcs
2024-06-04 04:48:24 -07:00
Colin Davidson
e46e22e21b
add a few more x11 funcs, fix egl bug
2024-06-04 01:12:10 -07:00
Laytan Laats
8a521648b9
wasm: fix runtime.js even more for wasm64p32
...
- make the int size configurable in the `runWasm` call, no more
constants to hunt down and change
- make storeU64 and storeI64 handle bigints, this is needed in the
odin_dom library
- fix alignment issues within init_event_raw
2024-05-31 20:57:15 +02:00
gingerBill
6d9957d7e4
Fix types again
2024-05-30 21:59:01 +01:00
gingerBill
ba1e9c8abe
Fix #3651
2024-05-30 21:50:30 +01:00