Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 260 vs 263 for /trunk/Source Code/Hardware/Video/Buffers/FrameBuffer/Headers/FrameBuffer.h

Diff revisions: vs.
  @@ -37,8 +37,7 @@
37 37 bool _colorOnly;
38 38 U32 _numColorChannels;
39 39 bool _clearBuffersOnBind;
40 - bool _clearColorOnBind;
41 - FrameBufferTarget() : _depthOnly(false), _colorOnly(false), _clearBuffersOnBind(true), _clearColorOnBind(true), _numColorChannels(1)
40 + FrameBufferTarget() : _depthOnly(false), _colorOnly(false), _clearBuffersOnBind(true), _numColorChannels(1)
42 41 {
43 42 }
44 43 };
  @@ -55,7 +54,6 @@
55 54 }
56 55
57 56 virtual void Begin(const FrameBufferTarget& drawPolicy) = 0;
58 - // the bool params are used only for resolving MS buffers
59 57 virtual void End() = 0;
60 58
61 59 virtual void Bind(U8 unit = 0, TextureDescriptor::AttachmentType slot = TextureDescriptor::Color0);
  @@ -84,8 +82,6 @@
84 82
85 83 inline void clearBuffers(bool state) {_clearBuffersState = state;}
86 84 inline bool clearBuffers() const {return _clearBuffersState;}
87 - inline void clearColor(bool state) {_clearColorState = state;}
88 - inline bool clearColor() const {return _clearColorState;}
89 85
90 86 FrameBuffer(bool multiSample);
91 87 virtual ~FrameBuffer();
  @@ -97,7 +93,6 @@
97 93 mutable bool _bound;
98 94 bool _layeredRendering;
99 95 bool _clearBuffersState;
100 - bool _clearColorState;
101 96 bool _useDepthBuffer;
102 97 bool _disableColorWrites;
103 98 bool _multisampled;