Revision: 16794
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=16794
Author: mxcurioni
Date: 2008-09-28 20:43:51 +0200 (Sun, 28 Sep 2008)
Log Message:
-----------
soc-2008-mxcurioni: FRS_glBlendEquation files
Added Paths:
-----------
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.cpp
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.h
Added:
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.cpp
===================================================================
---
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.cpp
(rev 0)
+++
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.cpp
2008-09-28 18:43:51 UTC (rev 16794)
@@ -0,0 +1,9 @@
+#include "GLBlendEquation.h"
+
+void FRS_glBlendEquation(GLenum mode) {
+ if( glBlendEquation ) {
+ glBlendEquation(mode);
+ } else if ( glBlendEquationEXT ) {
+ glBlendEquationEXT(mode);
+ }
+}
\ No newline at end of file
Added:
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.h
===================================================================
---
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.h
(rev 0)
+++
branches/soc-2008-mxcurioni/source/blender/freestyle/intern/rendering/GLBlendEquation.h
2008-09-28 18:43:51 UTC (rev 16794)
@@ -0,0 +1,16 @@
+#ifndef GLBLENDEQUATION_H
+#define GLBLENDEQUATION_H
+
+#include <GL/glew.h>
+#ifdef WIN32
+# include <windows.h>
+#endif
+#ifdef __MACH__
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
+
+void FRS_glBlendEquation(GLenum mode);
+
+#endif // GLBLENDEQUATION_H
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs