From e6483d2165be17f2eeb1b683c72ffce859b4350e Mon Sep 17 00:00:00 2001 From: laurentgom Date: Sun, 14 Jun 2009 06:47:25 +0000 Subject: [PATCH] Added initialization of GLEW in sf::Drawable (for glBlendFuncSeparate) git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1140 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Graphics/Drawable.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SFML/Graphics/Drawable.cpp b/src/SFML/Graphics/Drawable.cpp index 788ff2644..4a6c49da1 100644 --- a/src/SFML/Graphics/Drawable.cpp +++ b/src/SFML/Graphics/Drawable.cpp @@ -46,7 +46,8 @@ myBlendMode (Blend::Alpha), myNeedUpdate (true), myInvNeedUpdate(true) { - + // Make sure that GLEW is initialized (for glBlendFuncSeparate) + EnsureGlewInit(); }