summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2020-12-19 19:27:31 +0100
committerRay <[email protected]>2020-12-19 19:27:31 +0100
commit2374281204be800de71484bd8712e9f098f7fc44 (patch)
treea70ae3b994f5ab079a05dbea315597e8e2fb3901 /src/raylib.h
parent015e715278ab9c4abce722bbee705a1b0f788ca2 (diff)
downloadraylib-2374281204be800de71484bd8712e9f098f7fc44.tar.gz
raylib-2374281204be800de71484bd8712e9f098f7fc44.zip
Avoid *Rec suffix in some variables
Pefixing/Suffixing some data type identifier in the variables is not a convention used in raylib, just reviewed it for consistency... Still, I kept the *Rec suffix in some functions.
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 0712a6e8..27b85e86 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -255,7 +255,7 @@ typedef RenderTexture RenderTexture2D;
// N-Patch layout info
typedef struct NPatchInfo {
- Rectangle sourceRec; // Region in the texture
+ Rectangle source; // Region in the texture
int left; // left border offset
int top; // top border offset
int right; // right border offset