view raylib_examples/main.c @ 62:ea9ef388ab97

[Seobeo] Fixed issues with epoll or kqeue in different threads. Initizlied the event looop inside of the thread itself.
author June Park <parkjune1995@gmail.com>
date Tue, 23 Dec 2025 11:48:11 -0800
parents f33d9ff8b6e8
children
line wrap: on
line source

#include <stdio.h>
#include "dowa/dowa.h"
#include "third_party/raylib/include/raylib.h" 

int main()
{
  InitWindow(800, 450, "raylib [core] example - basic window");
  while (!WindowShouldClose())
  {
      BeginDrawing();
          ClearBackground(RAYWHITE);
          DrawText("Congrats! You created your first window!", 190, 200, 20, LIGHTGRAY);
      EndDrawing();
  }
  CloseWindow();
  return 0;
}