raybri
This commit is contained in:
1 parent
bf05a2a7ee
commit
f0862c88f7
5 files changed
+6
-3
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#include "raylib_bridge.h"
|
||||
#include "raybri.h"
|
||||
|
||||
#include "raylib.h"
|
||||
#include "rlgl.h"
|
||||
@@ -190,7 +190,7 @@ void sr_init(
|
||||
// raylib's default INFO logging is noisy; keep warnings and errors only.
|
||||
SetTraceLogLevel(LOG_WARNING);
|
||||
|
||||
rlLoadExtensions(sr_gl_loader);
|
||||
rlLoadExtensions((void *)sr_gl_loader);
|
||||
// Init with default 1x1 size
|
||||
rlglInit(1, 1);
|
||||
|
||||
File renamed without changes.
@@ -12,7 +12,7 @@ let package = Package(
|
||||
targets: [
|
||||
.target(
|
||||
name: "RaylibBridge",
|
||||
path: "bridge",
|
||||
path: "src/raybri",
|
||||
publicHeadersPath: ".",
|
||||
cSettings: [
|
||||
.unsafeFlags(["-I", "\(raylibPrefix)/include"])
|
||||
@@ -22,6 +22,7 @@ let package = Package(
|
||||
name: "ogs-mahjong",
|
||||
dependencies: ["RaylibBridge"],
|
||||
path: "src",
|
||||
exclude: ["raybri"],
|
||||
swiftSettings: [
|
||||
.unsafeFlags(["-Xcc", "-DGL_SILENCE_DEPRECATION"])
|
||||
],
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../../components/raybri/raybri.c
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../../../../components/raybri/raybri.h
|
||||
Reference in new issue
Block a user