Skip to content

Commit f430d72

Browse files
[examples] fix: use quotation marks when including raylib.h (#4821)
...so it will always prioritize local version of raylib instead of system-wide installations, which is a huge problem when testing any changes done locally to raylib as it might cause silent mismatch issues. There were only 4 examples affected by this issue which were using `#include <raylib.h>`. Other examples use proper `#include "raylib.h"` Fixes: #4820
1 parent 590f793 commit f430d72

4 files changed

+4
-4
lines changed

examples/shapes/shapes_draw_circle_sector.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
********************************************************************************************/
1717

18-
#include <raylib.h>
18+
#include "raylib.h"
1919

2020
#define RAYGUI_IMPLEMENTATION
2121
#include "raygui.h" // Required for GUI controls

examples/shapes/shapes_draw_rectangle_rounded.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
********************************************************************************************/
1717

18-
#include <raylib.h>
18+
#include "raylib.h"
1919

2020
#define RAYGUI_IMPLEMENTATION
2121
#include "raygui.h" // Required for GUI controls

examples/shapes/shapes_draw_ring.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
********************************************************************************************/
1717

18-
#include <raylib.h>
18+
#include "raylib.h"
1919

2020
#define RAYGUI_IMPLEMENTATION
2121
#include "raygui.h" // Required for GUI controls

examples/textures/textures_image_channel.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*
1818
********************************************************************************************/
1919

20-
#include <raylib.h>
20+
#include "raylib.h"
2121

2222
//------------------------------------------------------------------------------------
2323
// Program main entry point

0 commit comments

Comments
 (0)