Intel i915 on OSX 10.4.4 supports vertex programs but not hardware vertex buffers. Our software vertex rendering doesn't support vertex programs.

This commit is contained in:
Chris Danford
2006-02-22 21:22:33 +00:00
parent 06b19345a9
commit 663f13e70b
+3 -1
View File
@@ -1988,7 +1988,9 @@ bool RageDisplay_OGL::SupportsTextureFormat( PixelFormat pixfmt, bool bRealtime
bool RageDisplay_OGL::SupportsPerVertexMatrixScale()
{
return g_bTextureMatrixShader != 0;
// Intel i915 on OSX 10.4.4 supports vertex programs but not hardware vertex buffers.
// Our software vertex rendering doesn't support vertex programs.
return GLExt.glGenBuffersARB && g_bTextureMatrixShader != 0;
}
void RageDisplay_OGL::SetSphereEnvironmentMapping( bool b )