-
Clear screen just doesn't work. If you look at #3... Anyone know why? Drawing.c: #include "core/Drawing.h"
void begin_drawing(tint color_drawn)
{
//rlLoadIdentity();
BeginDrawing(); // Need to use raylib because we would need CORE which is not exposed
}
void end_drawing()
{
// we need to use raylib EndDrawing because raylib handles the window so we need the buffers to be swapped by raylib
EndDrawing();
}
void clear_screen(tint color_drawn)
{
float r = (float)(color_drawn.r) / 255;
float g = (float)(color_drawn.g) / 255;
float b = (float)(color_drawn.b) / 255;
float a = (float)(color_drawn.a) / 255;
rlClearColor(r, g, b, a);
rlClearScreenBuffers();
} |
Beta Was this translation helpful? Give feedback.
Answered by
OkiStuff
May 20, 2021
Replies: 1 comment
-
found a fix.. talking about it in my the new dev log |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
OkiStuff
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
found a fix.. talking about it in my the new dev log