Fixed alpha-blended drawables getting incorrect alpha values when rendered through a RenderImage

Replaced internal calls to glewIsSupported with the corresponding constants (faster checks)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1264 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-11-06 10:38:07 +00:00
parent 5d778b2bc4
commit f593ea29e7
8 changed files with 30 additions and 20 deletions

View file

@ -37,7 +37,7 @@ bool GeometryRendererVBO::IsSupported()
{
priv::EnsureGlewInit();
return glewIsSupported("GL_ARB_vertex_buffer_object") != 0;
return GLEW_ARB_vertex_buffer_object != 0;
}