camelCase
This commit is contained in:
1 parent
97f2e8cb3c
commit
1905ec7f6f
4 files changed
+16
-13
No files matched your search
@@ -7,23 +7,26 @@ static int sr_width = 1;
|
||||
static int sr_height = 1;
|
||||
static int sr_ready = 0;
|
||||
|
||||
void raybri_init(void) {
|
||||
void raybriInit(void) {
|
||||
//SetTraceLogLevel(LOG_WARNING);
|
||||
|
||||
// Load OpenGL extensions
|
||||
rlLoadExtensions((void *)raybriGLLoader);
|
||||
// Init with default 1x1 size
|
||||
// Use default 1x1 window size for successful init
|
||||
rlglInit(1, 1);
|
||||
// Background is painted in blue
|
||||
rlClearColor(0, 0, 255, 255);
|
||||
|
||||
sr_ready = 1;
|
||||
}
|
||||
|
||||
void raybri_resize(int width, int height)
|
||||
void raybriResize(int width, int height)
|
||||
{
|
||||
if (width > 0) sr_width = width;
|
||||
if (height > 0) sr_height = height;
|
||||
}
|
||||
|
||||
void raybri_render(void)
|
||||
void raybriRender(void)
|
||||
{
|
||||
if (!sr_ready) return;
|
||||
|
||||
@@ -32,7 +35,7 @@ void raybri_render(void)
|
||||
rlDrawRenderBatchActive();
|
||||
}
|
||||
|
||||
void raybri_shutdown(void)
|
||||
void raybriShutdown(void)
|
||||
{
|
||||
if (!sr_ready) return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user