Commit Graph

24 Commits

Author SHA1 Message Date
Julian Sikorski
f4d463990a
Allow simultaneous X11 and Wayland support (#3152)
* Allow simultaneous X11 and Wayland support

* Add NativeWindowHandleType

* Set default value for g_platformData.type

* Use g_platformData.type to check for a native Wayland window

* Stub getNativeWindowHandleType on platform where Wayland is not an option

* Implement getNativeWindowHandleType for GLFW

* Add getNativeWindowHandleType to the remaining C++ examples

* Add getNativeWindowHandleType to the C example
2023-08-17 16:54:31 +02:00
Branimir Karadžić
290295136b Added bx::Location, and removed allocator macros. 2023-04-23 19:19:22 -07:00
Бранимир Караџић
466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
Бранимир Караџић
72cbe83275 Removed bgfx::setPlatformData usage from entry example harness. 2022-08-25 20:07:03 -07:00
云风
676df636d2
rename rearrangeIndices() to remapIndices() (#2773) 2022-04-18 17:37:29 -07:00
云风
c6d66c2483
bugfix and remove mergeIndices() (#2772) 2022-04-18 12:57:25 -07:00
云风
cae7c83f89
bugfix : weldVert and array_push (#2769) 2022-04-15 07:22:43 -07:00
luzpaz
6875e96bcb
Fix various typos (#2719)
Found via `codespell -q 3 -S ./3rdparty,*.ttf -L attribut,ba,clude,conly,indext,inout,lod,nclude,retur,utput`
2022-02-05 11:34:15 -08:00
Бранимир Караџић
4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Бранимир Караџић
8392a44b3a Fixed assert macros, and improved error handling. 2021-10-25 18:59:32 -07:00
Бранимир Караџић
af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
kingscallop
ba3be9affd
Fixes example 42 (#2235)
Because example 42 was using the shaders from example 07 (callback), which have
input vertex attributes position and color, while the mesh from example 42 has
attributes position and normal, this causes problems on Windows when using
AMD gpus (no bunny mesh would appear on the window).
2020-08-16 11:44:00 -07:00
Бранимир Караџић
0a80a7bfcc
Updated license text. (#2157) 2020-06-03 14:50:54 -07:00
Бранимир Караџић
d042d3d70a 42-bunnylod: Switched to flat shaded to better show LOD. 2020-06-01 11:47:38 -07:00
Бранимир Караџић
dba154036f Cleanup. 2020-05-31 15:41:18 -07:00
Бранимир Караџић
a53871ccdc Added screenshot. 2020-05-31 11:50:52 -07:00
Бранимир Караџић
99637d536b Fixed warning. 2020-05-31 11:09:13 -07:00
云风
d1586fcb38
Improve example 42 (#2156)
* rename to weldVertices

* cache to temp/bunnylod.cache

* use bgfx::weldVertices instead
2020-05-30 22:38:42 -07:00
Бранимир Караџић
adc701d611 Fixed warning. 2020-05-30 21:42:08 -07:00
Бранимир Караџић
dfaf816822 Cleanup. 2020-05-30 13:05:43 -07:00
Бранимир Караџић
a433c040d8 42-bunnylod: Better slider control towards 0. 2020-05-30 12:54:00 -07:00
Бранимир Караџић
4007876315 Fixed model. 2020-05-30 11:21:57 -07:00
Бранимир Караџић
a5f79320a5 Cleanup. 2020-05-30 11:12:10 -07:00
云风
be95d12307
Add examples 42 : BunnyLOD (#2155) 2020-05-30 10:49:06 -07:00