layer
This commit is contained in:
1 parent
e3844dfb18
commit
5a3f45dfa4
3 files changed
+3
-3
No files matched your search
@@ -2,7 +2,7 @@
|
||||
#include "raybriAux.h"
|
||||
#include "rlgl.h"
|
||||
|
||||
void raybriInit(void) {
|
||||
void raybriInit(void *layer) {
|
||||
//SetTraceLogLevel(LOG_WARNING);
|
||||
|
||||
// Load OpenGL extensions
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef RAYBRI_H
|
||||
#define RAYBRI_H
|
||||
|
||||
void raybriInit(void);
|
||||
void raybriInit(void *layer);
|
||||
void raybriRender(int width, int height);
|
||||
void raybriShutdown(void);
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ func renderInit(_ vm: RenderVM) {
|
||||
var swapInterval: Int32 = 1
|
||||
vm.glView.openGLContext?.setValues(&swapInterval, for: .swapInterval)
|
||||
|
||||
raybriInit()
|
||||
raybriInit(nil)
|
||||
}
|
||||
|
||||
func renderStartTimer(_ vm: RenderVM) {
|
||||
|
||||
Reference in new issue
Block a user