浏览代码

[examples] fix: use quotation marks when including raylib.h

...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: https://github.com/raysan5/raylib/issues/4820
pull/4821/head
sleeptightAnsiC 1 个月前
父节点
当前提交
6c2a0f5f6e
共有 4 个文件被更改,包括 4 次插入4 次删除
  1. +1
    -1
      examples/shapes/shapes_draw_circle_sector.c
  2. +1
    -1
      examples/shapes/shapes_draw_rectangle_rounded.c
  3. +1
    -1
      examples/shapes/shapes_draw_ring.c
  4. +1
    -1
      examples/textures/textures_image_channel.c

+ 1
- 1
examples/shapes/shapes_draw_circle_sector.c 查看文件

@ -15,7 +15,7 @@
* *
********************************************************************************************/ ********************************************************************************************/
#include &lt;raylib.h>;
#include &#34;raylib.h";
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include "raygui.h" // Required for GUI controls #include "raygui.h" // Required for GUI controls

+ 1
- 1
examples/shapes/shapes_draw_rectangle_rounded.c 查看文件

@ -15,7 +15,7 @@
* *
********************************************************************************************/ ********************************************************************************************/
#include &lt;raylib.h>;
#include &#34;raylib.h";
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include "raygui.h" // Required for GUI controls #include "raygui.h" // Required for GUI controls

+ 1
- 1
examples/shapes/shapes_draw_ring.c 查看文件

@ -15,7 +15,7 @@
* *
********************************************************************************************/ ********************************************************************************************/
#include &lt;raylib.h>;
#include &#34;raylib.h";
#define RAYGUI_IMPLEMENTATION #define RAYGUI_IMPLEMENTATION
#include "raygui.h" // Required for GUI controls #include "raygui.h" // Required for GUI controls

+ 1
- 1
examples/textures/textures_image_channel.c 查看文件

@ -17,7 +17,7 @@
* *
********************************************************************************************/ ********************************************************************************************/
#include &lt;raylib.h>;
#include &#34;raylib.h";
//------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------
// Program main entry point // Program main entry point

正在加载...
取消
保存