update RGFW
This commit is contained in:
parent
2d71d078f0
commit
9ecd1ce52c
6
src/external/RGFW.h
vendored
6
src/external/RGFW.h
vendored
|
|
@ -1155,8 +1155,8 @@ typedef RGFW_ENUM(u8, RGFW_mouseIcons) {
|
||||||
/*
|
/*
|
||||||
Example to get you started :
|
Example to get you started :
|
||||||
|
|
||||||
linux : gcc main.c -lX11 -lXcursor -lGL
|
linux : gcc main.c -lX11 -lXrandr -lGL
|
||||||
windows : gcc main.c -lopengl32 -lshell32 -lgdi32
|
windows : gcc main.c -lopengl32 -lwinmm -lshell32 -lgdi32
|
||||||
macos : gcc main.c -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo
|
macos : gcc main.c -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo
|
||||||
|
|
||||||
#define RGFW_IMPLEMENTATION
|
#define RGFW_IMPLEMENTATION
|
||||||
|
|
@ -1203,7 +1203,7 @@ int main() {
|
||||||
windows:
|
windows:
|
||||||
gcc -shared RGFW.o -lwinmm -lopengl32 -lshell32 -lgdi32 -o RGFW.dll
|
gcc -shared RGFW.o -lwinmm -lopengl32 -lshell32 -lgdi32 -o RGFW.dll
|
||||||
linux:
|
linux:
|
||||||
gcc -shared RGFW.o -lX11 -lXcursor -lGL -lXrandr -o RGFW.so
|
gcc -shared RGFW.o -lX11 -lGL -lXrandr -o RGFW.so
|
||||||
macos:
|
macos:
|
||||||
gcc -shared RGFW.o -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo
|
gcc -shared RGFW.o -framework Foundation -framework AppKit -framework OpenGL -framework CoreVideo
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user