[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46995] branches/soc-2012-swiss_cheese/ source/blender/gpu/intern/gpu_immediate.h: Cannot use restrict with a function pointer.

Jason Wilkins Jason.A.Wilkins at gmail.com
Fri May 25 04:42:34 CEST 2012


Revision: 46995
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46995
Author:   jwilkins
Date:     2012-05-25 02:42:33 +0000 (Fri, 25 May 2012)
Log Message:
-----------
Cannot use restrict with a function pointer.

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_immediate.h

Modified: branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_immediate.h
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_immediate.h	2012-05-25 02:41:50 UTC (rev 46994)
+++ branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_immediate.h	2012-05-25 02:42:33 UTC (rev 46995)
@@ -130,11 +130,11 @@
 
 	int lockCount;
 
-	void (*restrict lockBuffer)(void);
-	void (*restrict unlockBuffer)(void);
-	void (*restrict beginBuffer)(void);
-	void (*restrict endBuffer)(void);
-	void (*restrict shutdownBuffer)(struct GPUimmediate *restrict immediate);
+	void (*lockBuffer)(void);
+	void (*unlockBuffer)(void);
+	void (*beginBuffer)(void);
+	void (*endBuffer)(void);
+	void (*shutdownBuffer)(struct GPUimmediate *restrict immediate);
 } GPUimmediate;
 
 extern GPUimmediate *restrict GPU_IMMEDIATE;




More information about the Bf-blender-cvs mailing list