some camel
This commit is contained in:
1 parent
788ce06d5a
commit
97f2e8cb3c
3 files changed
+6
-5
No files matched your search
@@ -1,8 +1,7 @@
|
||||
#include "raybri.h"
|
||||
#include "raybriAux.h"
|
||||
#include "raybriConst.h"
|
||||
#include "rlgl.h"
|
||||
#include <dlfcn.h>
|
||||
#include <stddef.h>
|
||||
|
||||
static int sr_width = 1;
|
||||
static int sr_height = 1;
|
||||
@@ -10,7 +9,7 @@ static int sr_ready = 0;
|
||||
|
||||
void raybri_init(void) {
|
||||
//SetTraceLogLevel(LOG_WARNING);
|
||||
rlLoadExtensions((void *)raybri_gl_loader);
|
||||
rlLoadExtensions((void *)raybriGLLoader);
|
||||
// Init with default 1x1 size
|
||||
rlglInit(1, 1);
|
||||
rlClearColor(0, 0, 255, 255);
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
#include <dlfcn.h>
|
||||
#include "raybriAux.h"
|
||||
#include "raybriConst.h"
|
||||
#include <stddef.h>
|
||||
|
||||
// raylib is built as a static/dynamic library with GLFW baked in, but we never
|
||||
// call InitWindow(). Instead we render into an OpenGL context owned by the
|
||||
// macOS app, so we must supply the OpenGL entry point loader ourselves.
|
||||
void *raybri_gl_loader(const char *name) {
|
||||
void *raybriGLLoader(const char *name) {
|
||||
static void *handle = NULL;
|
||||
|
||||
if (handle == NULL) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#ifndef RAYBRI_AUX_H
|
||||
#define RAYBRI_AUX_H
|
||||
|
||||
void *raybri_gl_loader(const char *name);
|
||||
void *raybriGLLoader(const char *name);
|
||||
|
||||
#endif // RAYBRI_AUX_H
|
||||
Reference in new issue
Block a user