aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2019-05-07 10:05:21 +0200
committerRay <raysan5@gmail.com>2019-05-07 10:05:21 +0200
commite0e2346c2266d8f8f09a2e1e68fffd61b49afa8d (patch)
tree87ddf3f573c6c8538a40e5202ca6ae0e72313d29 /src
parentafd90a5a5655724dc56466fa0c2d42c3f702d88a (diff)
downloadraylib-e0e2346c2266d8f8f09a2e1e68fffd61b49afa8d.tar.gz
raylib-e0e2346c2266d8f8f09a2e1e68fffd61b49afa8d.zip
NO SUPPORT_BUSY_WAIT_LOOP by default
Diffstat (limited to 'src')
-rw-r--r--src/Makefile4
-rw-r--r--src/config.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index ea09aa9f..35a10bc7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -437,7 +437,7 @@ else
ifeq ($(RAYLIB_LIBTYPE),SHARED)
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
- $(CC) -shared -o $(RAYLIB_RELEASE_PATH)/raylib.dll $(OBJS) -L$(RAYLIB_RELEASE_PATH) -static-libgcc -lopengl32 -lgdi32 -Wl,--out-implib,$(RAYLIB_RELEASE_PATH)/libraylibdll.a
+ $(CC) -shared -o $(RAYLIB_RELEASE_PATH)/raylib.dll $(OBJS) -L$(RAYLIB_RELEASE_PATH) -static-libgcc -lopengl32 -lgdi32 -lwinmm -Wl,--out-implib,$(RAYLIB_RELEASE_PATH)/libraylibdll.a
@echo "raylib dynamic library (raylib.dll) and import library (libraylibdll.a) generated!"
endif
ifeq ($(PLATFORM_OS),LINUX)
@@ -534,7 +534,7 @@ raygui.o : raygui.c raygui.h
physac.o : physac.c physac.h
@echo #define PHYSAC_IMPLEMENTATION > physac.c
@echo #include "$(RAYLIB_MODULE_PHYSAC_PATH)/physac.h" > physac.c
- $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -DRAYGUI_IMPLEMENTATION
+ $(CC) -c $< $(CFLAGS) $(INCLUDE_PATHS) -D$(PLATFORM) -DPHYSAC_IMPLEMENTATION
# Install generated and needed files to desired directories.
diff --git a/src/config.h b/src/config.h
index 77e936bd..ebe1a7da 100644
--- a/src/config.h
+++ b/src/config.h
@@ -43,7 +43,7 @@
// Mouse gestures are directly mapped like touches and processed by gestures system
#define SUPPORT_MOUSE_GESTURES 1
// Use busy wait loop for timing sync, if not defined, a high-resolution timer is setup and used
-#define SUPPORT_BUSY_WAIT_LOOP 1
+//#define SUPPORT_BUSY_WAIT_LOOP 1
// Wait for events passively (sleeping while no events) instead of polling them actively every frame
//#define SUPPORT_EVENTS_WAITING 1
// Allow automatic screen capture of current screen pressing F12, defined in KeyCallback()