[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47032] branches/soc-2012-swiss_cheese/ source/blender: removed unused typedef

Jason Wilkins Jason.A.Wilkins at gmail.com
Sat May 26 02:24:16 CEST 2012


Revision: 47032
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47032
Author:   jwilkins
Date:     2012-05-26 00:24:13 +0000 (Sat, 26 May 2012)
Log Message:
-----------
removed unused typedef

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/editors/interface/resources.c
    branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_compatibility.h

Modified: branches/soc-2012-swiss_cheese/source/blender/editors/interface/resources.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/editors/interface/resources.c	2012-05-26 00:06:30 UTC (rev 47031)
+++ branches/soc-2012-swiss_cheese/source/blender/editors/interface/resources.c	2012-05-26 00:24:13 UTC (rev 47032)
@@ -58,9 +58,6 @@
 
 #include "interface_intern.h"
 
-/* global for themes */
-typedef void (*VectorDrawFunc)(int x, int y, int w, int h, float alpha);
-
 static bTheme *theme_active = NULL;
 static int theme_spacetype = SPACE_VIEW3D;
 static int theme_regionid = RGN_TYPE_WINDOW;

Modified: branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_compatibility.h
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_compatibility.h	2012-05-26 00:06:30 UTC (rev 47031)
+++ branches/soc-2012-swiss_cheese/source/blender/gpu/GPU_compatibility.h	2012-05-26 00:24:13 UTC (rev 47032)
@@ -33,8 +33,19 @@
 #define __GPU_COMPATIBILITY_H__
 
 #include "intern/gpu_immediate_inline.h"
+
+
+
+#ifndef GPU_MANGLE_DEPRECATED
+#define GPU_MANGLE_DEPRECATED 1
+#endif
+
+#if GPU_MANGLE_DEPRECATED
 #include "intern/gpu_deprecated.h"
+#endif
 
+
+
 #ifdef __cplusplus
 extern "C" {
 #endif




More information about the Bf-blender-cvs mailing list