Add Wayland DRM leasing support to the Linux DRM backend

This commit is contained in:
Tera << 8 2025-06-07 17:29:20 -04:00
parent 3366acf975
commit cc772e4bcb
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
8 changed files with 1567 additions and 54 deletions

View file

@ -20,10 +20,12 @@ int main(void)
{
// Initialization
//---------------------------------------------------------
const int screenWidth = 800;
const int screenHeight = 450;
const int screenWidth = 1920;
const int screenHeight = 1080;
SetTraceLogLevel(LOG_TRACE);
SetConfigFlags(FLAG_MSAA_4X_HINT);
SetTargetFPS(120); // Set our game to run at 60 frames-per-second
InitWindow(screenWidth, screenHeight, "raylib [shapes] example - bouncing ball");
Vector2 ballPosition = { GetScreenWidth()/2.0f, GetScreenHeight()/2.0f };
@ -33,7 +35,6 @@ int main(void)
bool pause = 0;
int framesCounter = 0;
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//----------------------------------------------------------
// Main game loop
@ -79,4 +80,4 @@ int main(void)
//----------------------------------------------------------
return 0;
}
}