[Bf-blender-cvs] [f6ebc98] soc-2014-viewport_context: Remove GLEW_CHK - its not defined

Campbell Barton noreply at git.blender.org
Sat Aug 2 07:56:27 CEST 2014


Commit: f6ebc9835eb2cadb85142a9cb0e037f069a1475b
Author: Campbell Barton
Date:   Sat Aug 2 15:56:02 2014 +1000
Branches: soc-2014-viewport_context
https://developer.blender.org/rBf6ebc9835eb2cadb85142a9cb0e037f069a1475b

Remove GLEW_CHK - its not defined

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

M	intern/ghost/intern/GHOST_ContextEGL.cpp
M	intern/ghost/intern/GHOST_ContextGLX.cpp

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

diff --git a/intern/ghost/intern/GHOST_ContextEGL.cpp b/intern/ghost/intern/GHOST_ContextEGL.cpp
index fd8f772..756e9a0 100644
--- a/intern/ghost/intern/GHOST_ContextEGL.cpp
+++ b/intern/ghost/intern/GHOST_ContextEGL.cpp
@@ -342,7 +342,7 @@ void GHOST_ContextEGL::initContextEGLEW()
 	m_eglewContext = eglewContext;
 #endif
 
-	GLEW_CHK(eglewInit(m_display));
+	eglewInit(m_display);
 }
 
 
diff --git a/intern/ghost/intern/GHOST_ContextGLX.cpp b/intern/ghost/intern/GHOST_ContextGLX.cpp
index 27846fb..0b82315 100644
--- a/intern/ghost/intern/GHOST_ContextGLX.cpp
+++ b/intern/ghost/intern/GHOST_ContextGLX.cpp
@@ -140,7 +140,7 @@ void GHOST_ContextGLX::initContextGLXEW()
 	m_glxewContext = glxewContext;
 #endif
 
-	GLEW_CHK(glxewInit());
+	glxewInit();
 }
 
 GHOST_TSuccess GHOST_ContextGLX::initializeDrawingContext()




More information about the Bf-blender-cvs mailing list