Commit 35de6150 authored by Jan Möbius's avatar Jan Möbius

Apple fix

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12763 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 292d0bfc
......@@ -333,7 +333,7 @@ void SSAOPlugin::reloadResources(int _viewerId)
randVecs[i][3] = cosf(theta);
}
#ifdef ARCH_DARWIN
//glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, 4, 4, 0, GL_RGBA, GL_FLOAT, randVecs);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F_ARB, 4, 4, 0, GL_RGBA, GL_FLOAT, randVecs);
#else
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, 4, 4, 0, GL_RGBA, GL_FLOAT, randVecs);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment