aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvictorfisac <victorfisac@gmail.com>2016-06-14 20:31:48 +0200
committervictorfisac <victorfisac@gmail.com>2016-06-14 20:31:48 +0200
commit1a8fbe5cf0b982cf74434f1ba4654fced71a0450 (patch)
tree646fbfe178289a0dc289f72c207d34e04a691628
parent5a1cbb2842f6801f7a86086e87f4821fd0b09229 (diff)
downloadraylib-1a8fbe5cf0b982cf74434f1ba4654fced71a0450.tar.gz
raylib-1a8fbe5cf0b982cf74434f1ba4654fced71a0450.zip
Add pthread external library to source...
and add instructions in physac examples to run it successful.
-rw-r--r--.gitignore3
-rw-r--r--examples/physics_basic_rigidbody.c4
-rw-r--r--examples/physics_forces.c5
-rw-r--r--src/external/pthread/pthreadGC2.dllbin0 -> 119888 bytes
4 files changed, 11 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index b221a37b..cf9cdfe1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -72,4 +72,5 @@ src/libraylib.bc
# external libraries DLLs
!src/external/glfw3/lib/win32/glfw3.dll
!src/external/openal_soft/lib/win32/OpenAL32.dll
-!src/external/OculusSDK/LibOVR/LibOVRRT32_1.dll \ No newline at end of file
+!src/external/OculusSDK/LibOVR/LibOVRRT32_1.dll
+!src/external/pthread/pthreadGC2.dll \ No newline at end of file
diff --git a/examples/physics_basic_rigidbody.c b/examples/physics_basic_rigidbody.c
index 5223f46a..b85f7543 100644
--- a/examples/physics_basic_rigidbody.c
+++ b/examples/physics_basic_rigidbody.c
@@ -5,6 +5,10 @@
* This example has been created using raylib 1.5 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
+*
+* Compile example using:
+* cmd /c IF NOT EXIST pthreadGC2.dll copy C:\raylib\raylib\src\external\pthread\pthreadGC2.dll $(CURRENT_DIRECTORY) /Y
+*
* Copyright (c) 2016 Victor Fisac and Ramon Santamaria (@raysan5)
*
********************************************************************************************/
diff --git a/examples/physics_forces.c b/examples/physics_forces.c
index 87510552..7de85483 100644
--- a/examples/physics_forces.c
+++ b/examples/physics_forces.c
@@ -5,6 +5,11 @@
* This example has been created using raylib 1.5 (www.raylib.com)
* raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details)
*
+* NOTE: This example requires raylib module [rlgl]
+*
+* Compile example using:
+* cmd /c IF NOT EXIST pthreadGC2.dll copy C:\raylib\raylib\src\external\pthread\pthreadGC2.dll $(CURRENT_DIRECTORY) /Y
+*
* Copyright (c) 2016 Victor Fisac and Ramon Santamaria (@raysan5)
*
********************************************************************************************/
diff --git a/src/external/pthread/pthreadGC2.dll b/src/external/pthread/pthreadGC2.dll
new file mode 100644
index 00000000..67b9289d
--- /dev/null
+++ b/src/external/pthread/pthreadGC2.dll
Binary files differ