use newer version of raygui
This commit is contained in:
parent
f5f6cf81b4
commit
7891da6d40
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
|||
[submodule "3rdparty/raylib"]
|
||||
path = 3rdparty/raylib
|
||||
url = https://github.com/raysan5/raylib
|
||||
[submodule "3rdparty/raygui"]
|
||||
path = 3rdparty/raygui
|
||||
url = https://github.com/raysan5/raygui.git
|
||||
|
|
1
3rdparty/raygui
vendored
Submodule
1
3rdparty/raygui
vendored
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit f08ec1d08a65fd5ab607c93f413e1742219a582e
|
|
@ -18,6 +18,7 @@ pub fn build(b: *std.build.Builder) void {
|
|||
const ray = raylib.addRaylib(b, exe.target);
|
||||
exe.linkLibrary(ray);
|
||||
exe.addIncludeDir("./3rdparty/raylib/src");
|
||||
exe.addIncludeDir("./3rdparty/raygui/src");
|
||||
|
||||
exe.setBuildMode(mode);
|
||||
exe.install();
|
||||
|
|
|
@ -4,7 +4,7 @@ const ray = @cImport({
|
|||
});
|
||||
const raygui = @cImport({
|
||||
@cDefine("RAYGUI_IMPLEMENTATION", {});
|
||||
@cInclude("extras/raygui.h");
|
||||
@cInclude("raygui.h");
|
||||
});
|
||||
|
||||
pub fn main() anyerror!void {
|
||||
|
|
Loading…
Reference in a new issue