Introduce chkgfx #3
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
#include "raylib_bridge.h"
|
#include "raybri.h"
|
||||||
|
|
||||||
#include "raylib.h"
|
#include "raylib.h"
|
||||||
#include "rlgl.h"
|
#include "rlgl.h"
|
||||||
@@ -190,7 +190,7 @@ void sr_init(
|
|||||||
// raylib's default INFO logging is noisy; keep warnings and errors only.
|
// raylib's default INFO logging is noisy; keep warnings and errors only.
|
||||||
SetTraceLogLevel(LOG_WARNING);
|
SetTraceLogLevel(LOG_WARNING);
|
||||||
|
|
||||||
rlLoadExtensions(sr_gl_loader);
|
rlLoadExtensions((void *)sr_gl_loader);
|
||||||
// Init with default 1x1 size
|
// Init with default 1x1 size
|
||||||
rlglInit(1, 1);
|
rlglInit(1, 1);
|
||||||
|
|
||||||
File renamed without changes.
@@ -12,7 +12,7 @@ let package = Package(
|
|||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
name: "RaylibBridge",
|
name: "RaylibBridge",
|
||||||
path: "bridge",
|
path: "src/raybri",
|
||||||
publicHeadersPath: ".",
|
publicHeadersPath: ".",
|
||||||
cSettings: [
|
cSettings: [
|
||||||
.unsafeFlags(["-I", "\(raylibPrefix)/include"])
|
.unsafeFlags(["-I", "\(raylibPrefix)/include"])
|
||||||
@@ -22,6 +22,7 @@ let package = Package(
|
|||||||
name: "ogs-mahjong",
|
name: "ogs-mahjong",
|
||||||
dependencies: ["RaylibBridge"],
|
dependencies: ["RaylibBridge"],
|
||||||
path: "src",
|
path: "src",
|
||||||
|
exclude: ["raybri"],
|
||||||
swiftSettings: [
|
swiftSettings: [
|
||||||
.unsafeFlags(["-Xcc", "-DGL_SILENCE_DEPRECATION"])
|
.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