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/Buffers/FrameBufferObject/FrameBufferObject.cpp

Diff revisions: vs.
  @@ -4,6 +4,7 @@
4 4 _width(0),
5 5 _height(0),
6 6 _textureType(0),
7 + _clearColor(BLACK()),
7 8 _fboType(type),
8 9 _useDepthBuffer(false),
9 10 _disableColorWrites(false)
  @@ -18,7 +19,7 @@
18 19
19 20 bool FrameBufferObject::AddAttachment(const TextureDescriptor& descriptor,
20 21 TextureDescriptor::AttachmentType slot){
21 - //Validation
22 + //Validation
22 23 switch(_fboType){
23 24 case FBO_2D_DEFERRED:
24 25 case FBO_2D_COLOR_MS:
  @@ -55,8 +56,8 @@
55 56 return true;
56 57 }
57 58
58 - void FrameBufferObject::Bind(U8 unit, U8 texture) {
59 + void FrameBufferObject::Bind(U8 unit, U8 texture) const {
59 60 }
60 61
61 - void FrameBufferObject::Unbind(U8 unit) {
62 + void FrameBufferObject::Unbind(U8 unit) const {
62 63 }