Commit a0a35ce4 authored by Matthias Möller's avatar Matthias Möller
Browse files

fix multitexture switch

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@17903 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e8486b73
......@@ -157,9 +157,9 @@ void FBO::attachTexture2DDepth( GLsizei _width, GLsizei _height, GLuint _interna
glGenTextures(1, &texID);
#ifdef GL_ARB_texture_multisample
GLenum target = GL_TEXTURE_2D;
#else
GLenum target = samples_ ? GL_TEXTURE_2D_MULTISAMPLE : GL_TEXTURE_2D;
#else
GLenum target = GL_TEXTURE_2D;
#endif // GL_ARB_texture_multisample
// store texture id in internal array
......
Supports Markdown
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