ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 0550c9f4ee71ad0d9bf421d3d5d8fe7c1240c197
Parent: 16b4d5b86204480396b7a73460af66a02e2ec2c8
Author: Randy Palamar
Date:   Tue,  9 Jun 2026 09:38:29 -0600

build: re-add rcore_extended.c

this is still needed to be able to replace raylib's key handling

Diffstat:
Mbuild.c | 5++---
Aexternal/rcore_extended.c | 8++++++++
2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/build.c b/build.c @@ -751,17 +751,16 @@ build_raylib(Arena a) if (!is_msvc) cmd_append(&a, &cc, "-Wno-unused-but-set-variable"); cmd_append(&a, &cc, "-Iexternal/include", "-Iexternal/raylib/src", "-Iexternal/raylib/src/external/glfw/include"); #define RAYLIB_SOURCES \ - X(rcore) \ X(rglfw) \ X(rshapes) \ X(rtext) \ X(rtextures) \ X(utils) #define X(name) "external/raylib/src/" #name ".c", - char *srcs[] = {RAYLIB_SOURCES}; + char *srcs[] = {"external/rcore_extended.c", RAYLIB_SOURCES}; #undef X #define X(name) OUTPUT(OBJECT(#name)), - char *outs[] = {RAYLIB_SOURCES}; + char *outs[] = {OUTPUT(OBJECT("rcore_extended")), RAYLIB_SOURCES}; #undef X if (shared) { diff --git a/external/rcore_extended.c b/external/rcore_extended.c @@ -0,0 +1,8 @@ +#include "raylib/src/rcore.c" + +// NOTE(rnp): hacky function to get the GLFWwindow handle +void * +GetPlatformWindowHandle(void) +{ + return (void *)platform.handle; +}