some
This commit is contained in:
1 parent
ebed3cb9ce
commit
bc2ba43c34
1 file changed
+4
@@ -15,11 +15,15 @@ void raybriInit(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void raybriRender(int width, int height) {
|
void raybriRender(int width, int height) {
|
||||||
|
// Set the drawing area to the current pixel size
|
||||||
rlViewport(0, 0, width, height);
|
rlViewport(0, 0, width, height);
|
||||||
|
// Clear color and depth buffers for the next frame
|
||||||
rlClearScreenBuffers();
|
rlClearScreenBuffers();
|
||||||
|
// Draw any queued geometry
|
||||||
rlDrawRenderBatchActive();
|
rlDrawRenderBatchActive();
|
||||||
}
|
}
|
||||||
|
|
||||||
void raybriShutdown(void) {
|
void raybriShutdown(void) {
|
||||||
|
// Release rlgl buffers, shaders and textures
|
||||||
rlglClose();
|
rlglClose();
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user