소스 검색

Change some global variables to have internal linkage (#4252)

* Change some global variables to have internal linkage

* Update rcore.c

* Update rcore.c
pull/4257/head
Lázaro Albuquerque 7 달 전
committed by GitHub
부모
커밋
6e644a27fc
No known key found for this signature in database GPG 키 ID: B5690EEEBB952194
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. +3
    -3
      src/rcore.c
  2. +2
    -2
      src/rshapes.c

+ 3
- 3
src/rcore.c 파일 보기

@ -367,9 +367,9 @@ static int screenshotCounter = 0; // Screenshots counter
#endif
#if defined(SUPPORT_GIF_RECORDING)
unsigned int gifFrameCounter = 0; // GIF frames counter
bool gifRecording = false; // GIF recording state
MsfGifState gifState = { 0 }; // MSGIF context state
static unsigned int gifFrameCounter = 0; // GIF frames counter
static bool gifRecording = false; // GIF recording state
static MsfGifState gifState = { 0 }; // MSGIF context state
#endif
#if defined(SUPPORT_AUTOMATION_EVENTS)

+ 2
- 2
src/rshapes.c 파일 보기

@ -79,8 +79,8 @@
//----------------------------------------------------------------------------------
// Global Variables Definition
//----------------------------------------------------------------------------------
Texture2D texShapes = { 1, 1, 1, 1, 7 }; // Texture used on shapes drawing (white pixel loaded by rlgl)
Rectangle texShapesRec = { 0.0f, 0.0f, 1.0f, 1.0f }; // Texture source rectangle used on shapes drawing
static Texture2D texShapes = { 1, 1, 1, 1, 7 }; // Texture used on shapes drawing (white pixel loaded by rlgl)
static Rectangle texShapesRec = { 0.0f, 0.0f, 1.0f, 1.0f }; // Texture source rectangle used on shapes drawing
//----------------------------------------------------------------------------------
// Module specific Functions Declaration

불러오는 중...
취소
저장