Commit 292d0bfc authored by Jan Möbius's avatar Jan Möbius

Wrong define

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12762 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e8316e61
......@@ -332,7 +332,7 @@ void SSAOPlugin::reloadResources(int _viewerId)
randVecs[i][2] = sinf(theta);
randVecs[i][3] = cosf(theta);
}
#ifdef APPLE
#ifdef ARCH_DARWIN
//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);
......@@ -486,7 +486,7 @@ void SSAOPlugin::render(ACG::GLState* _glState, Viewer::ViewerProperties& _prope
for (int i = 0; i < 6; ++i)
{
ACG::GLState::activeTexture(GL_TEXTURE0 + i);
#ifdef APPLE
#ifdef ARCH_DARWIN
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE_EXT, 0);
#else
ACG::GLState::bindTexture(GL_TEXTURE_RECTANGLE, 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