Browse Source

update RGFW

pull/4480/head
ColleagueRiley 1 year ago
parent
commit
9ecd1ce52c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/external/RGFW.h

+ 3
- 3
src/external/RGFW.h View File

@ -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
windows : gcc main.c -lopengl32 -lshell32 -lgdi32
linux : gcc main.c -lX11 -lXrandr -lGL
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…
Cancel
Save