Add Wayland DRM leasing support to the Linux DRM backend
This commit is contained in:
parent
3366acf975
commit
cc772e4bcb
8 changed files with 1567 additions and 54 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue