From 080b03fcf86a9bb0867d9ac5c8428de59efc57ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Sun, 25 Oct 2026 07:03:25 +0300 Subject: [PATCH] no ready in c --- components/raybri/raybri.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/components/raybri/raybri.c b/components/raybri/raybri.c index e27ad28..6445414 100644 --- a/components/raybri/raybri.c +++ b/components/raybri/raybri.c @@ -3,8 +3,6 @@ #include "raybriConst.h" #include "rlgl.h" -static int sr_ready = 0; - void raybriInit(void) { //SetTraceLogLevel(LOG_WARNING); @@ -14,15 +12,9 @@ void raybriInit(void) { rlglInit(1, 1); // Background is painted in blue rlClearColor(0, 0, 255, 255); - - sr_ready = 1; } void raybriRender(int width, int height) { - if (!sr_ready) { - return; - } - rlViewport(0, 0, width, height); rlClearScreenBuffers(); rlDrawRenderBatchActive(); @@ -30,10 +22,5 @@ void raybriRender(int width, int height) { void raybriShutdown(void) { - if (!sr_ready) { - return; - } - sr_ready = 0; - rlglClose(); }