[Bf-blender-cvs] [8e069c4] GPU_data_request: fix compile on MSVC

Mike Erwin noreply at git.blender.org
Tue Apr 21 09:16:33 CEST 2015


Commit: 8e069c4f8dc959ba728ab7211379c241939250be
Author: Mike Erwin
Date:   Tue Apr 21 03:15:51 2015 -0400
Branches: GPU_data_request
https://developer.blender.org/rB8e069c4f8dc959ba728ab7211379c241939250be

fix compile on MSVC

BLI_threads uses bool, so depends on include order. Proper fix would be
to #include <stdbool.h> in BLI_threads.h but I don't want to modify in
this branch.

===================================================================

M	source/blender/gpu/intern/gpux_buffer_id.c

===================================================================

diff --git a/source/blender/gpu/intern/gpux_buffer_id.c b/source/blender/gpu/intern/gpux_buffer_id.c
index 19b1b62..1f073ec 100644
--- a/source/blender/gpu/intern/gpux_buffer_id.c
+++ b/source/blender/gpu/intern/gpux_buffer_id.c
@@ -1,6 +1,6 @@
 #include "gpux_buffer_id.h"
-#include "BLI_threads.h"
 #include "BLI_utildefines.h"
+#include "BLI_threads.h"
 
 //#define ORPHAN_DEBUG




More information about the Bf-blender-cvs mailing list