Reduce ogs-blue/ver-mac to blue background #6

Merged
kornerr merged 22 commits from ios3 into master 2026-10-26 03:26:20 +00:00
Showing only changes of commit 080b03fcf8 - Show all commits
-13
View File
@@ -3,8 +3,6 @@
#include "raybriConst.h" #include "raybriConst.h"
#include "rlgl.h" #include "rlgl.h"
static int sr_ready = 0;
void raybriInit(void) { void raybriInit(void) {
//SetTraceLogLevel(LOG_WARNING); //SetTraceLogLevel(LOG_WARNING);
@@ -14,15 +12,9 @@ void raybriInit(void) {
rlglInit(1, 1); rlglInit(1, 1);
// Background is painted in blue // Background is painted in blue
rlClearColor(0, 0, 255, 255); rlClearColor(0, 0, 255, 255);
sr_ready = 1;
} }
void raybriRender(int width, int height) { void raybriRender(int width, int height) {
if (!sr_ready) {
return;
}
rlViewport(0, 0, width, height); rlViewport(0, 0, width, height);
rlClearScreenBuffers(); rlClearScreenBuffers();
rlDrawRenderBatchActive(); rlDrawRenderBatchActive();
@@ -30,10 +22,5 @@ void raybriRender(int width, int height) {
void raybriShutdown(void) void raybriShutdown(void)
{ {
if (!sr_ready) {
return;
}
sr_ready = 0;
rlglClose(); rlglClose();
} }