Commit 54881196 authored by Martin Schultz's avatar Martin Schultz
Browse files

hotfix problem with ifdef on osx, again ... nested ifdef

parent 95d4a559
......@@ -125,12 +125,12 @@ MSFilterWeights::MSFilterWeights(int _numSamples) : numSamples_(_numSamples) {
}
//=============================================================================
#if defined(GL_ARB_texture_buffer_object)
void MSFilterWeights::asTextureBuffer( TextureBuffer& out ) {
if (numSamples_)
out.setBufferData(numSamples_ * 4, &weights_[0], GL_R32F, GL_STATIC_DRAW);
}
#endif
//=============================================================================
#endif //MSFILTERWEIGHTS
......
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