[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48493] branches/soc-2012-swiss_cheese/ source/blender/gpu/intern/gpu_functions.c: Fixes gpu_functions. c for OpenGL ES

Alexander Kuznetsov kuzsasha at gmail.com
Mon Jul 2 17:15:19 CEST 2012


Revision: 48493
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48493
Author:   alexk
Date:     2012-07-02 15:15:06 +0000 (Mon, 02 Jul 2012)
Log Message:
-----------
Fixes gpu_functions.c for OpenGL ES

Modified Paths:
--------------
    branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_functions.c

Modified: branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_functions.c
===================================================================
--- branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_functions.c	2012-07-02 13:41:51 UTC (rev 48492)
+++ branches/soc-2012-swiss_cheese/source/blender/gpu/intern/gpu_functions.c	2012-07-02 15:15:06 UTC (rev 48493)
@@ -26,11 +26,13 @@
  *  \ingroup gpu
  */
 
+#ifdef GLES
+#include <GLES2/gl2.h>
+#endif
+
 #include "GPU_functions.h"
+#include REAL_GL_MODE
 
-
-
-
 #if GPU_SAFETY
 
 #define GPU_CHECK_INVALID_PNAME(symbol)           \




More information about the Bf-blender-cvs mailing list