Commit 7481d0fe authored by Jan Möbius's avatar Jan Möbius

Uncomment problematic block for apple as long as we do not have a fix

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12759 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 61b69980
......@@ -332,7 +332,11 @@ void SSAOPlugin::reloadResources(int _viewerId)
randVecs[i][2] = sinf(theta);
randVecs[i][3] = cosf(theta);
}
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, 4, 4, 0, GL_RGBA, GL_FLOAT, randVecs);
#ifdef APPLE
//glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA32F, 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
}
ACG::GLState::bindTexture(GL_TEXTURE_2D, 0);
......
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