Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Hardware/Video/OpenGL/Buffers/FrameBufferObject/glTextureBufferObject.cpp

Diff revisions: vs.
  @@ -4,7 +4,9 @@
4 4 #include "Hardware/Video/OpenGL/Headers/glResources.h"
5 5 #include "Hardware/Video/Headers/GFXDevice.h"
6 6
7 - glTextureBufferObject::glTextureBufferObject(bool cubeMap, bool depthOnly) : glFrameBufferObject(cubeMap ? (depthOnly ? FBO_CUBE_DEPTH : FBO_CUBE_COLOR) : FBO_2D_COLOR){
8 - cubeMap ? _textureType = GL_TEXTURE_CUBE_MAP : _textureType = GL_TEXTURE_2D;
7 + glTextureBufferObject::glTextureBufferObject(bool cubeMap, bool depthOnly) :
8 + glFrameBufferObject(cubeMap ? (depthOnly ? FBO_CUBE_DEPTH : FBO_CUBE_COLOR) : FBO_2D_COLOR)
9 + {
10 + _textureType = (cubeMap ? GL_TEXTURE_CUBE_MAP : GL_TEXTURE_2D);
9 11 toggleColorWrites(!depthOnly); ///<Use glDepthBufferObject instead.
10 12 }