Skip to content

Comments

add PLATFORM_OFFSCREEN support#2

Open
adeebshihadeh wants to merge 1 commit intomasterfrom
platform-offscreen
Open

add PLATFORM_OFFSCREEN support#2
adeebshihadeh wants to merge 1 commit intomasterfrom
platform-offscreen

Conversation

@adeebshihadeh
Copy link

Summary

  • Add PLATFORM_OFFSCREEN case in raylib/build.py link args
  • Links with -lEGL (plus existing -lGL) instead of -lX11
  • Enables building Python raylib bindings for headless EGL rendering without a display server

Used by openpilot CI to run UI tests without Xvfb via EGL surfaceless platform.

Test plan

🤖 Generated with Claude Code

Link with -lEGL (and existing -lGL) instead of -lX11 when building
for PLATFORM_OFFSCREEN. This enables headless rendering via EGL
surfaceless platform without requiring a display server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant